[Openswan Users] Routing problem.

Magnus Holmberg magnus.holmberg at pepto.se
Tue Jan 23 09:13:42 EST 2007


I have one problem using openswan and that is that the ftp dont seems to 
work
My Config:

conn nordea
        authby=secret
        auto=start
        dpddelay=3
        dpdtimeout=120
        dpdaction=restart
        rekey =yes
        keylife=30m
        ikelifetime=30m
        left=213.115.44.166
        leftnexthop=%direct
        leftsubnet=23.15.46.24/32
        pfs=yes
        right=22.27.12.11
        rightid=22.27.12.11
        rightnexthop=%direct
        rightsubnet=22.27.12.68/32

The ftp is nated. I have ip_nat _ftp loaded and my firewall rule is:

/sbin/iptables -t nat -I PREROUTING -p TCP -i eth0 -d 23.15.46.24 
--dport 21 -j DNAT --to-destination 23.15.46.17

How can I solve this?




More information about the Users mailing list