configure RB 750 to access internet with a Public IP?

Morning to all.

I just receive a Public IP adress, a public GATEWAY and 2 DNS from my ISP.

I have a cyber (local adresses 192.168.1.1/24).

How would i configure my RouterBoard 750 so that all my machines could acess Internet?

Apply the IP address, apply a static route, apply the DNS servers, NAT outbound.

Assuming an address of 1.1.1.2/30, a gateway of 1.1.1.1, and DNS servers of 2.2.2.2 and 3.3.3.3, and a WAN interface named ‘WAN’:

/ip address
add address=1.1.1.2/30 interface=WAN
/ip route
add dst-address=0.0.0.0/0 gateway=1.1.1.1
/ip dns
set allow-remote-requests=yes servers=2.2.2.2,3.3.3.3
/ip firewall nat
add chain=srcnat out-interface=WAN action=masquerade

And the configuration for the LAN assuming an interface called ‘LAN’ and an IP of 192.168.1.1/24:

/ip address
add address=192.168.1.1/24 interface=LAN
/ip pool
add name=DHCP range=192.168.1.10-192.168.1.254
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=192.168.1.1 gateway=192.168.1.1
/ip dhcp-server
add address-pool=DHCP authoritative=yes disabled=no interface=LAN name=LAN

All of this is covered in great detail on the wiki manual. Please read that first if you have further questions.

the Public IP Adress is 41.254.250.44 and the masque= 255.255.255.0

this means that the first command should be what?

/ip address
add address=> 41.254.250.44> /24 > interface=WAN

is that good?


sorry i’m not expert in this…


but i do understand the rest of the commands that you tape. thanks.

That is correct.

thanks. it’s ok.

I’ve configured my RB 750 and cyber it’s well now.

Thanks to fewi. Thanks so much

This is the website of my enterprise:www.onetrevolution.com