Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[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


Dear all,

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 )
 192.170.10.11 (eth0)

|

ipsec.conf

|

 192.170.10.1(eth1)

     ( B name: toowoomba)
 137.111.220.150 (eth0)

Do you need help?X

|
|

 ( LAN ) my problem is.
Once both of the GW(a,b) boot up. A can ping to both B's eth0/1, but not anyone beyond B's eth0. so I run a iptables script on B, the script i copy fomr redhat mini-howto:

iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 137.111.220.150
echo 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


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library