Dear Fourm Members,
I want to use linux as a router.
I am using internet on win xp and i want to shere internet through linux.
I saw a network. and i do the like this.
In linux two Nics one eth0 is configured ip 192.168.0.2 and eth1 is 22.214.171.124
and in win xp only one nic configured ip 192.168.0.1
win xp and linux linked to cross cable
and other nic connect to switch
how can i configured like this
Thanks and Reguard
i think those are strange choices for ips. you probably want to do something like this.
setup DHCP on 192.168.1.1 eth1 outbound to the switch. then just forward all traffic between eth0 to eth1. if you want to get fancy, block port ranges and add other rules to make it more of a firewall than just a router. there should be plenty of information online routing traffic between eth cards. 192.168.1.10* are generic workstations, 192.168.1.100 for example.
you right I like to do this.
but i have no concept of firwall. Please tell me about firewall.