Iptables and outlook account through gmail
Hi,
Issue : Unable to use gmail account through outlook What iptables rules that I should put in place This is my setup Eth0 – 192.168.1.x - Connected to internet Eth3 – 10.0.0.47 – Local Lan Pop.gmail.com – port 995 Smtp.gmail.com – port 465 Thanks Kasi VPS |
Post your current iptables configuration.
iptables -t nat -L iptables -L |
Currently there is no iptables rules.
I have flushed it using iptables -F and saved it empty. |
You will need to create a link between the two interfaces.
I have set up a similar box recently, I used iptables to achieve what I needed. Can you get to any websites when using your local network Eth3? |
sysctl -w net.ipv4.ip_forward=1
iptables -I FORWARD -o eth0 -j ACCEPT iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE copy it in /etc/rc.local so these rules get executed after reboot. You can further customize according to your security needs. See iptables in detail, its a great tool. |
Let me try this option and keep you posted.
|
So did your problem get solved ?
|
All times are GMT -5. The time now is 06:33 PM. |