![]() |
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 dpt:pop3 to:192.168.1.50:110 DNAT udp -- anywhere 10.10.10.9 udp dpt:pop3 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 |
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 :@:@:@:@ |
All times are GMT -5. The time now is 06:03 PM. |