Koozali.org: home of the SME Server

Port forwarding from inside to outside

Michael Roed

Port forwarding from inside to outside
« on: August 16, 2002, 08:07:00 PM »
How can I forward eg. Port 8080 on the inside to IP xxx.xxx.xxx.xxx port 80 ???
I have a rpm for external forwarding but is there a similar to the inside /to outside)or do I have to code it by hand?

Thanx,
Michael.

Bill Talcott

Re: Port forwarding from inside to outside
« Reply #1 on: August 16, 2002, 09:30:48 PM »
Is there a specific reason you're doing this? You need to use port forwarding to get to the PCs on the LAN, since there's no way to access their private IPs from the public internet. You can get to public IP:ports from LAN PCs by just entering them, so there's not a real need for internal to external forwarding.

Michael Roed

Re: Port forwarding from inside to outside
« Reply #2 on: August 16, 2002, 10:15:09 PM »
The reason is a bankingprogram that doesnt work to well with Squid. Therefore I need to tell the Esmith-server that all traffic from the bankingprogram (port 8080, or whatever I configure in the program) should be redirected directly to the bankingserver on port 80 !!!

Is there a way to do so ´coz now the program doesnt communicate with the server!

/michael

Michael Roed

Re: Port forwarding from inside to outside
« Reply #3 on: August 17, 2002, 01:45:46 AM »
I can tell that this was not a problem with ver. 4.12. This is after I have upgraded to ver. 5.5!!!

/michael

Jared

Re: Port forwarding from inside to outside
« Reply #4 on: August 17, 2002, 05:28:38 PM »
There is a RPM that you can get that allows you manage port forwarding in the server-manager section.

Go here to download it
http://www.e-smith.org/contrib/rpm-index/RPM-e-smith-ipportfw-0.1.1-1.noarch.html

Hopefully that will help.

Michael Roed

Re: Port forwarding from inside to outside
« Reply #5 on: August 18, 2002, 04:18:53 AM »
Sorry, this is the one I´ve already got and it only controls the external ports not the internal :-(
I actually need a configuration that allows all traffic recieved on port 8080 to go around the firewall and directly to my router or an external IP-adress!

/michael