Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Users] incorrect or missing nexthop setting

From: Jan Brand <j.brand(at)promind.de>
Date: Fri Oct 10 2003 - 17:10:39 EDT


I made following changes on public side:

config setup

        interfaces="%defaultroute"
conn road

	left="%defaultroute"
	leftsubnet=62.1.1.104/29
	right=%any
	rightnexthop= <-- UNUSED
	auto=add

> BTW, you need to change "leftnexthop", not "rightnexthop". If

Surely, I had also meant that.

> So, your packets initially have to go through NAT to your peer?

Yes, all packet are going through POSTROUTING-CHAIN with SNAT

> Possible solution: I'd work around this via NAT trickery.

Do you need help?X

This string work fine in PREROUTING-Chain, thanks.

> iptables -t nat -A PREROUTING -p 50 -d 66.1.1.105 -j DNAT

And I do not need these, since ipsec0 is on eth0 and ESP is acceptet on INPUT-Chain on eth0 by default.

Finaly i must say it works very well.

Thanks for your help.

Jan Brand



FreeS/WAN Users mailing list
users@lists.freeswan.org
https://mj2.freeswan.org/cgi-bin/mj_wwwusr Received on Fri Oct 10 17:20:17 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:02:05 EDT


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