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

iptables: just a simple routing rule



Hi,

I'm new on linux so excuse my question.

I have a wireless router connected to internet, and routing all request 
form the local network 192.168.0.*

This router work also as firewall.

I have a sub-network, 3 stages upper, 10.0.0.*

One of the box on this subnetwork is a debian box connected both on the 192... with a wireless card and on 10... with a ethernet card.

I just want that this debian box route everything form 10... to the wireless router 192.168.0.254 and everything that come form 192. route to 10.

How can I do that ?


internet
   |
router(192.168.0.254)
   /(wireless)
deb box(192.168.0.253/10.0.0.254)
   |
subnetwork(10.0.0.*)


Thanks a lot

Pev
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be



Reply to: