|
|||||||||||
|
[Users] Ping doesn't work anymore after the tunnel is up.
From: Calvin <calvinproject(at)ihug.com.au>
Date: Mon Mar 31 2003 - 00:13:23 EST
Regarding my previous msg, I assume my tunnel is working now. However I got problem regarding my network traffic after the tunnel is established. here is my network diag again 192.168.0.1(eth1) <- no PC attached here right now
( A )
|
|
( B name: toowoomba)
|
iptables -F iptables -t nat -F iptables -t mangle -F iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 137.111.220.150echo 1 > /proc/sys/net/ipv4/ip_forward iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -m state --state NEW -i ! eth0 -j ACCEPT iptables -P INPUT DROP iptables -A FORWARD -i eth0 -o eth0 -j REJECT After running this and setting /etc/resolv.conf on nameserver on A to make it became same as the one in B, A can ping any PC on the (LAN) beyond B's eth0 now. The problem comes when I bring up the freeswan betweeen A and B. AFter I brough it up, A can only ping B's eth1, an nothing else, not even B's eth0. ANyone can point me out what's wrong? Again, Thanks very much with your help... Calvin Users mailing list Users@lists.freeswan.org http://lists.freeswan.org/mailman/listinfo/users Received on Thu Apr 3 22:00:38 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:01:12 EDT |
||||||||||
|
|||||||||||