[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Connecting Networks



with kernel 2.2 and here is what i use to forward ports
# Load Port Forwarding Module
/sbin/modprobe ip_masq_portfw

# Setup Port Forwarding Rules
ipmasqadm portfw -f # Flush any existing rules

# Forward remote calls to port 3389 to local port 3389
ipmasqadm portfw -a -P tcp -L 208.149.x.x 3389 -R 192.168.0.21 3389

there is also a program rinetd that can do this for you (simply create rules 
in a file called /etc/rinetd.conf and run the rinetd dameon) i believe it 
works with kernel 2.4.  

there is also some native way to do this with ip tables but i have never 
looked into it.


On Friday 19 April 2002 21:05, you wrote:
> David,
> 	i feel better now that i know i'm not the only one trying to go
> into the private network from public interface. ;-)
> julius
> p.s. it *should* be possible
>
> On Fri, 19 Apr 2002, David Hansen Jr. wrote:
> > Hey, is this even possible?  I've got 2 networks.  I've got a 206 and a
> > 209. Now, on the 209, I had more devices than IP's, so I had to use a
> > linux box. Now on the linux box, I've got 3 NIC's.  One is a real IP
> > (209...254), one is 192.168.0.1 and the other is 192.168.1.1.  Is it at
> > all possible to be able to connect to a device on the 192.168.0. network
> > from the 206 network?  I've got a 2000 machine on the 192.168.0 network
> > that I would like to connect to remotely.
>
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://listman.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]