LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2010, 02:49 AM   #1
ssl3004
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
access mails from isp


Dear All,

I am new 2 linux, i have some clarification as mentioned below

Routing & Remote access server (192.168.16.1)
Lan pc (192.168.16.0,192.192.192.0,192.192.2.0) use this as gateway.

RHEL Box with squid has 2 nic as follows

WAN
eth0 192.168.1.20
gw 192.168.1.1
dns isp dns

LAN
eth1 192.168.16.20
gw nil

All users browse internet thru squid proxy it works fine, but when I amd unable to access isp (202.XXX.XXX.XXX)mail server thru remote destop and send or receive mails from isp mail server.

please let me know ho to configure directly access the isp mail server to send n receive mail as well as access thru remote desktop

thanks
 
Old 01-29-2010, 08:16 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
How did your WAN interface become 192.168.1.20 ? The ISP is probably rejecting everything that comes from such an address. Before you spend time messing with mail servers and/or routers, first fix the WAN interface. In most cases, it should be assigned by a DHCP server. In /etc/sysconfig/network-scripts/ifcfg-eth0, there should be a line like
Code:
BOOTPROTO=dhcp
Start by making sure the ethernet is configured correctly.

--- rod.
 
Old 02-01-2010, 02:29 AM   #3
ssl3004
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
mistake

Dear Mr Rod,

Thanks for your support, i have made mistake, the correct flow as follows:

Internet----Router---Squid----Client

-----------------------------------
router ip address=192.168.1.1

Squid eth0 IP=192.168.1.20
GW IP=192.168.1.1

eth1 IP=192.168.16.20
gw=nil

Remote & Routing Server IP=192.168.16.1

client ip address=192.168.16.XX
GW 192.168.16.1


Thanks
 
Old 02-02-2010, 10:04 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Your router interface to the Internet cannot use a local-only IP 192.168.xx.xx
--- rod.
 
  


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
Postfixe Unable to sent mails, Relay access denied; from= farrukhndm Linux - Server 7 01-15-2009 05:43 AM
Configure Outlook Express to Access Outside Mails pankaj_garg General 1 08-06-2007 02:06 PM
Access to the Internet without an ISP Gins Linux - Wireless Networking 4 04-26-2007 02:59 AM
ISP access..Linux XP 2006 wmn Linux - Newbie 10 04-29-2006 10:45 PM
JUNO Isp access using Mandrake 9.1 fazdoo Linux - Newbie 2 07-26-2003 01:17 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration