Hi
I'm trying to set up port redirection, and maybe you can help
my machine is:
Linux with 2 NICs ,
internal one is 208.155.225.125
external one is 216.59.112.171
Linux is the only connection to the outside and serves as a firewall
on the LAN I have an NT mail server ports 25 and 110, IP 208.155.225.124
and I am trying to redirect all the connections from the outside (Internet)
onto the that NT Server on the LAN.
I hope I explained it good enough :)
and my question is ... can Squid redirect ports ?
If yes, how should I approach it
if not, should/can I use portfw ? (look for more in P.S.)
thanks a lot !
Denn
P.S.
I know it's not portfw forum.. however I tried portfw below and it didn't
work. I wonder if it's an issue with squid or not
portfw is another thing and my main question is if I can use squid to
redirect ports or not.
so here is what I tried: (note .. IP 216.59.112.171 didn't show up and I
wonder why.. do you know anything about it ?)
[root@synera denny]# ipmasqadm portfw -f
[root@synera denny]# ipmasqadm portfw -a -P tcp -L 208.155.225.125 25 -R
208.155.225.124 25
[root@synera denny]# ipmasqadm portfw -a -P tcp -L 208.155.225.125 110 -R
208.155.225.124 110
[root@synera denny]# ipmasqadm portfw -a -P tcp -L 216.59.112.171 25 -R
208.155.225.124 25
[root@synera denny]# ipmasqadm portfw -a -P tcp -L 216.59.112.171 110 -R
208.155.225.124 110
[root@synera denny]# ipmasqadm portfw -a -P tcp -L localhost 110 -R
208.155.225.124 110
[root@synera denny]# ipmasqadm portfw -a -P tcp -L localhost 25 -R
208.155.225.124 25
[root@synera denny]# ipmasqadm portfw -l
prot localaddr rediraddr lport rport pcnt pref
TCP localhost 208.155.225.124 smtp smtp 10 10
TCP localhost 208.155.225.124 pop3 pop3 10 10
TCP 208.155.225.124 pop3 pop3 8 10
TCP 208.155.225.124 smtp smtp 10 10
TCP synera.consumerpulse.com 208.155.225.124 pop3 pop3 10
10
TCP synera.consumerpulse.com 208.155.225.124 smtp smtp 10
10
[root@synera denny]#
so I'm puzzled why 216.59.112.171 didn't show up in the list
and if you know a way to solve that, please tell ! :)
thanks
Denn
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Fri Jun 16 2000 - 10:56:04 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:04 MST