Community discussions

MikroTik App
 
DieselPower
newbie
Topic Author
Posts: 35
Joined: Fri Feb 15, 2008 12:01 am

Need help with NAT (I think)

Fri Feb 15, 2008 12:30 am

I am just trying out RouterOS for the first time on a CPE (rb133c). I have a 900Mhz wireless system mostly running on pfSense. I got rOS to connect and get DHCP address on the WAN, and it is giving DHCP offers on the LAN. I have no firewall rules. So what's happening is I get the client configured through DHCP, dns lookups work, and the client can ping the rb133. If the client trys to ping anything beyond the rb133 all packets get lost but the rb133 can ping anything on the WAN or LAN successfully. What do I need to do next, NAT? Also, I cannot quite figure out how NAT is supposed to work yet, rOS configuration is so different from standard linux! Any pointers?

Thanks,

Lawrence
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Need help with NAT (I think)

Fri Feb 15, 2008 2:22 am

Greetings!

Did you masquerade your LAN?
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
 
DieselPower
newbie
Topic Author
Posts: 35
Joined: Fri Feb 15, 2008 12:01 am

Re: Need help with NAT (I think)

Fri Feb 15, 2008 5:34 am

Thanks, that worked. Just had to change the interface for my purposes. Sometimes I think if it was plain linux I could get things done a lot faster than these GUI systems! Anyway, a great system doing exactly what I need.

Thanks,

Lawrence