|
|
|
Hi, This represents what I am trying to do : ---------------------------- --------------------------- VPN --------------------------- --------------------------- | 192.168.1.0/24 | ----- | 192.168.1.3 | ---------------- | 192.168.0.253 |--- | 192.168.0.0/24 | ---------------------------- | 172.16.58.1 | tunnel | 172.16.58.6 | ---------------------------- site A --------------------------- --------------------------- site B computer A computer B The tunnel is working, I *can* ping any computer on either site from any computer on the other site. But (there is a but) I can't establish any direct connection trough the vpn (for example :ssh,rsync). But if I ssh computer B from computer A then I ssh a computer on site B, then I can directly ssh a computer on the site A. So I am thinking of a firewall problem but I can't figure out what is it .... Here are the rules I apply on computer A and B: iptables -A INPUT -i tun0 -m state --state ESTABLISHED,RELATED,NEW -j ACCEPT iptables -A FORWARD -i tun0 -o eth0 -m state --state ESTABLISHED,RELATED,NEW -j ACCEPT iptables -A FORWARD -i eth0 -o tun0 -m state --state ESTABLISHED,RELATED,NEW -j ACCEPT iptables -A FORWARD -i eth0 -o tun0 -j ACCEPT iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT Thanks in advance Vincent -- Sokar -------------------------------- co-administrateur du réseau n7mm.org mail : sokar@xxxxxxxx Retrouvez moi sur irc.n7mm.org : #n7mm ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00065.html on line 215 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00065.html on line 215 |