[Openswan Users] Setting up a DNAT over the VPN
Mike A. Leonetti
mleonetti at evolutionce.com
Wed May 12 16:03:36 EDT 2010
I tried setting up this rule:
iptables -A PREROUTING -p tcp -m tcp -i eth0 --dport 2828 -j DNAT
--to-destination 10.10.12.125:22
Where 10.10.12.125 is on the other side of the VPN. When I try to SSH
in to port 2828 (coming from eth0) iptables -t nat -v -L shows me that
the rule has packets going to it, but eventually it times out. SSH is
open on the machine on the other side of the VPN and inside the VPN I
can access that machine fine.
--
Mike A. Leonetti
As warm as green tea
More information about the Users
mailing list