LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how do i forward a port to and inside IP (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-forward-a-port-to-and-inside-ip-11363/)

parabit 01-08-2002 03:05 PM

how do i forward a port to and inside IP
 
Hi. I have the basic Linux red hat 7.0 firewall set up and it works great. It is doing simple Nat and ipchains only shows two lines. What I need to do is forward any incoming traffic on port 4300 to and IP address inside the firewall? I have been messing around for days now with out any progress. Is ipchains the way to be doing this and can some one give me the syntax. Lets say my outside IP is 10.10.10.10 and the inside IP is 192.168.1.9 for port 4300.

thanks every one.

theFuzzyOne 01-08-2002 04:23 PM

iptables, maybe?
 
if you would like to use iptables, look up ' iptables port forwarding ' on google.com

parabit 01-08-2002 05:00 PM

thanks but...
 
thanks but it looks like I have to install it and then recompile the kernel. Last time I did that it was a 2 week night mare that I am not willing to try again.

piranha 01-09-2002 10:17 AM

I'm using a program called rinetd to do this: http://www.boutell.com/rinetd/


All times are GMT -5. The time now is 10:48 PM.