please help - IPSEC & POP3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a Freeswan gateway setup which is also my firewall (IPTABLES).  The
people on the LAN network (192.168.1.0) can get to the POP3 server out on
the Public internet.  But when I connect a client via the IPSEC (they are
static 10.2.67.0/8) tunnel then
I cannot get POP3 mail.  I can send mail.
This is what I have in my rc.firewall script to allow my LAN clients to get
their POP3 - 
iptables -t nat -A POSTROUTING -p tcp --dport 110 -o eth0 -s 192.168.1.0/24
-j SNAT --to $external_ip

I tried adding this line for those coming in via VPN/ipsec
iptables -t nat -A POSTROUTING -p tcp --dport 110 -o eth0 -s 10.2.67.0/8  -j
SNAT --to $external_ip

This last line did not change anything.  I still cannot get mail when vpned
in.

Doug


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux