I need to route a 3G modem Internet connection to eth5 in a routerboard 751u 2hnd. I configured the modem as a ppp-out1 and it connects well (shows “R”). What I don’t know is how to route this internet connection to eth5 so I can attach a PC to it. Can someone please enlight me? thanks a lot for your help, please this is urgent.
please post your config to see what have you missed
If you want not to route your 3G only to lan5 and let say to all lan ports, make a bridge and a new profile in ppp menu, named whatever you like(eg. ppp-3G) but in this profile you must set the bridge port. Then in your ppp-out1 (the client/dialer for the 3G modem) in Advanced you should set profile to “ppp-3G”. Also you must have in IP Firewall Nat a rule to masquerade srcnat on out port ppp-out1 (or however you have named it).
It should work now.
What I finally tried was this:
- Assign IP to LAN port (192.168.0.1/24).
- Create srcnat with out interface assigned to WAN (3G PPP), action is masquerade.
- Create route and assign out interface to 3G PPP.
- Create DHCP server on LAN port or assign IPs and DNSs manually.
This worked OK. Thanks jadu for the other solution.
You don’t have to put manual DNS, on IP/DNS you have to check Allow Remote Requests