[ale] Inbound port forwarding.

Scott Nolde smnoldelinux at mediaone.net
Wed Aug 30 11:10:40 EDT 2000


To make my packets jump, I use:

echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -s 192.168.10.0/24 -d 0/0 -j MASQ

Put the above in your /etc/rc.d/rc.local file.  Plus, I have my
/etc/sysconfig/network as follows:

NETWORKING=yes
HOSTNAME="your_hostname_here"
GATEWAY="your_gw_ip_here"
GATEWAYDEV="eth0"

All that in for my redhat 6.2 box.

- sott


"Gary S. Mackay" wrote:
> 
> I had this all working just fine with a modem connection to the 'net. I
> recently installed a cable modem which works great, (except that they block
> port 80 but that's another story), but can not get the inbound forwarding to
> work now. I have an application running on an NT box behind the masq'd network
> that is listening on port 5993. I used that ipmasqadm command to forward that
> port from the linux box to the NT box. Worked just fine with the modem. Now I
> can see the packets come in on eth0 and die. I'm guessing I'm missing
> something that tells the packets to jump across to the eth1 card so they can
> get to the 192.168.x.x address of the NT box. What am I missing?
> 
> - Gary
> 
> --
> Edison Information Technologies
> P.O. Box 554
> Milan, OH  44846-0554
> 419.499.7040
> www.EdisonInfo.com
> Gary at EdisonInfo.com
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

-- 
Never do Windows again with  |  Scott M. Nolde
Linux!  No streaks, haze or  |  smnoldelinux at mediaone.net
glaze!                       |  
10:55am up 18 days, 18:47, 1 user, load average: 1.05, 1.09, 1.03
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list