LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-15-2010, 01:13 AM   #1
victvishwa
LQ Newbie
 
Registered: May 2006
Posts: 20

Rep: Reputation: 0
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
 
Old 02-15-2010, 06:29 AM   #2
hostmaster
Member
 
Registered: Feb 2007
Posts: 55

Rep: Reputation: 17
Post your current iptables configuration.

iptables -t nat -L
iptables -L
 
Old 02-15-2010, 10:46 AM   #3
victvishwa
LQ Newbie
 
Registered: May 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Currently there is no iptables rules.
I have flushed it using iptables -F and saved it empty.
 
Old 02-15-2010, 08:52 PM   #4
Macht
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
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?

Last edited by Macht; 02-15-2010 at 09:05 PM.
 
Old 02-15-2010, 11:26 PM   #5
hostmaster
Member
 
Registered: Feb 2007
Posts: 55

Rep: Reputation: 17
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.
 
Old 02-16-2010, 03:12 AM   #6
victvishwa
LQ Newbie
 
Registered: May 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Let me try this option and keep you posted.
 
Old 02-18-2010, 12:11 PM   #7
hostmaster
Member
 
Registered: Feb 2007
Posts: 55

Rep: Reputation: 17
So did your problem get solved ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Mailx for gmail account, without /etc/... frenchn00b Linux - General 0 03-02-2008 01:05 AM
Console gmail account checker ? (no X) frenchn00b Linux - Software 1 06-17-2007 06:41 PM
Cannot access my gmail account in Mepis Charos MEPIS 7 07-28-2005 12:52 AM
ANYBODY WANT A GMAIL Account jon2kx General 9 08-17-2004 05:39 AM
I want a GMail account! jrbush82 General 1 08-06-2004 08:58 PM


All times are GMT -5. The time now is 02:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration