[Openswan Users] wrong gateway ip assigned

Deepak Naidu deepak_nai at yahoo.com
Mon May 9 18:48:58 CEST 2005


Hi,
   
  If not mistaken check the ip_forward in your VPN server box.  It should be 1.

 

# Enable packet forwarding 

# echo 1 > /proc/sys/net/ipv4/ip_forward 

 

Else u will only be able to reach ur VPN server host and not other hosts in the network, even if the route is proper....

Luca Ballerini <luca.ballerini at gmail.com> wrote:
HI, this is my first post!
My scenario:
- a debian box in the office with 2 eths 1 with local ip and 1 with
public ip, some iptables rules and NAT.Openswan and l2tp installed.
kernel 2.6

- clients connecting from home via winxp l2tp/ipsec default client and
a custom certificate.

I configured the openswan server following nate carlson's tutorial at
http://www.natecarlson.com/linux/ipsec-l2tp.php.

I can connect and I'm authenticated in the right way, The ip address I
want is assigned, I can even ssh the server (this is possible only for
local LAN's ip through hosts.allow/.deny) but I can't ping or see
other local LAN's pc and can't navigate to Internet.

>From xp client a "route PRINT" command shows that the default gateway
assigned by the server is the same ip assigned to the client.

Where am I wrong????

thanks in advance

-- 
There is no great genius without a mixture of madness.
Aristotle
_______________________________________________
Users mailing list
Users at openswan.org
http://lists.openswan.org/mailman/listinfo/users

		
---------------------------------
 Yahoo! Messenger  - want a free & easy way to contact your friends online? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20050509/696dbf5c/attachment.htm


More information about the Users mailing list