hello people who help me alot in my life (virtually everyone who
works and studies for rest of world~ cheers!)

anyway I've been working on NAT with iptables but I'm in a maze
finally. what I did was this

iptables -t nat -A PREROUTING -i eht0 -p tcp --dport 8023 -j DNAT
--to 192.168.0.5:23

##these are my situation
obviously 192.168.0.5 is my inside network and in the server
machine I have 2 ethernet cards
eth0 : 192.168.0.1
eth1 : 192.168.0.2 (this is connected to 192.168.0.5)
and I connect the internet with adsl by using eth0 (then I finally
got ppp0 interface)

I've tryied with my friends PCs with same command and It worked but
not with my pc
his configurations were exactly the same except he uses cable modem
and he doesn't get ppp0 but eth1 has offical ip address.

thanks ~



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


Reply via email to