LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-10-2003, 04:03 AM   #1
netguy2000
Member
 
Registered: Oct 2003
Location: Karachi, PAKISTAN
Distribution: Redhat, Fedora, Open BSD, FreeBSD, SlackWare
Posts: 109

Rep: Reputation: 15
Unhappy email server is not accessing from internet plzzzz help me


my e-mail server is behind RedHat 8 gateway i use these

Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- anywhere 10.10.10.9 tcp dpt:http to:192.168.1.50:80
DNAT tcp -- anywhere 10.10.10.9 tcp dptop3 to:192.168.1.50:110
DNAT udp -- anywhere 10.10.10.9 udp dptop3 to:192.168.1.50:110
DNAT udp -- anywhere 10.10.10.9 udp dpt:smtp to:192.168.1.50:25
DNAT tcp -- anywhere 10.10.10.9 tcp dpt:smtp to:192.168.1.50:25


Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 192.168.1.50 10.10.10.10 to:10.10.10.15
SNAT all -- 192.168.1.50 anywhere to:10.10.10.9
SNAT all -- 192.168.1.200 !192.168.2.0/24 to:10.10.10.9
SNAT all -- 192.168.2.0/24 !192.168.1.0/24 to:10.10.10.15
SNAT all -- 192.168.1.0/24 !192.168.2.0/24 to:10.10.10.15

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@redgw root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 192.168.3.1 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.10.10.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.10.10.1 0.0.0.0 UG 0 0 0 eth0
[root@redgw root]

192.168.1.50 = email server
10.10.10.9= of eth0:0 of gw for my email server
10.10.10.10= ISP wireless port address
10.10.10.15= gw eth0 address (aasined by ISP)

plzzzzzzzzzzzzzzzzzzzzz help me
 
Old 12-10-2003, 10:53 PM   #2
netguy2000
Member
 
Registered: Oct 2003
Location: Karachi, PAKISTAN
Distribution: Redhat, Fedora, Open BSD, FreeBSD, SlackWare
Posts: 109

Original Poster
Rep: Reputation: 15
Thanks GOD its working,
its realy fucked up my brain with in 4 hours,
no problem in gw, email server just lost its default route :@:@:@:@
 
  


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
Accessing server remotely through internet? redrobin77 Fedora 5 11-19-2005 07:03 PM
Ubuntu server no longer accessing internet xTheLostx Linux - Networking 3 09-29-2005 08:03 PM
Email Server Able to see Local Network but not Internet?? thiessenstuart Linux - Networking 3 08-24-2005 02:29 PM
Accessing Apache server from internet wisdom Linux - Networking 3 12-22-2004 11:05 AM
Accessing Web Server over Internet lawadm1 Linux - Software 4 08-04-2004 07:51 PM


All times are GMT -5. The time now is 12:28 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