Hi
I have RB433 and an ADSL Modem with router capabilities.
My RB433’s IP address is 192.168.1.2
My ADSL modem’s IP is 192.168.1.1
I have my wireless mini pci card installed on my routerboard.
My ADSL modem is connected to my routerboard from ether1. RB is successfully connected to internet. I would like to route this internet connection to wireless and ether2 and ether3 port.
I can connect to RB with WinBox without a problem and have the basic knowledge of winbox.
How can I do this from WinBox? Or is there a tutorial?
Under IP > Routes create a new route for a default gateway via the modem, ie:
Destination 0.0.0.0/0 Gateway 192.168.1.1
This will send anything not intended for your local networks to the modem which should route it out to the Internet.
You will need to create separate networks for the wireless, ether 2 and ether 3 ports, ie 192.168.2.0/24 192.168.3.0/24 and 192.168.4.0/24. Give the respective interfaces the first address (ie. wireless= 192.168.2.1/24) and devices connected to them subsequent ones. The routerboard will automatically set up routes for them.
Under IP > Firewall > NAT set up masquerading for everything outgoing by the ether 1 interface.
(ie. General tab Chain=srcnat Out.Int=ether1 // Action = Masquerade)
This will mean that everything arriving at the modem from the LAN side will have address 192.168.1.2. The modem when sending the packet out to the Internet should masquerade it again with its own public address. It will convert the destination address of returning packets to 192.168.1.2 and send them to the Routerboard which will look to see which interface the original requested arrived on and route it back there.