networking project

Harold Hartley harold_hartley at verizon.net
Mon Sep 3 13:35:14 BST 2007


Donn wrote:
>> Oh, btw, I have assigned the eth1 with a static ip of 192.168.1.1 and 
>> the router is 192.168.1.3. (The router has wireless for my laptop to use 
>> for my laptop)
> 
> I know zip-all about networks except to notice how similar yours is to 
> my own (which, ironically is not working - but used to!).
> 
> What you could try is to masquerade packets from your eth1 IP. Do this:
> 
> 1. Enable forwarding, done only once, as root:
> echo '1'>/proc/sys/net/ipv4/ip_forward
> 
> 2. Setup the table:
> iptables -t nat -I POSTROUTING -s <your eth1 IP> -j MASQUERADE
> 
> Now, test the connection from your laptop. If it works, then put that 
> iptables command into /etc/init.d/netshare (I think, I am not on my 
> Kubuntu machine, and my experience is with Dapper)
> 
> I hope that helps some,
> /d
> 
I will check it out and see what my files has in them...

Harold




More information about the kubuntu-users mailing list