RB411U and 3G

Hello everyone!!! I have a Novatel Wireless MC760 USB 3g stick and I would like to know if it will work with the RB411U. Also I would like to order a 3G mini express card that will work with at&t and my sim card could you point me in the right direction. This is my first RouterBoard so I am learning and any help would be appreciated :smiley:

Yep…i am in the same boat.

I have a RB411U and a Sierra Wireless Mini-PCIE card installed.

This works ok and have setup the PPP connection. I can ping outside ip address with the PPP connection.

Could someone give us some step-by-step instruction to setup the RB411U to first of all to route the traffic from the 3G to the lan connection. The setup guides around the place assume high levels of knowledge!!

My next step is i want to connect to a VPN PPTP connection and then route all traffic through the VPN…

Can someone help this newbie??

:smiley:

I did a simple set up on my RB411U like this.

-s et up the PPP connection

  • set up NAT
  • Create a bridge and add Ether1 and Wlan1
  • Set up Pool and DHCP server
  • Set up a simple firewall

You may want to open a new terminal window in winbox and paste below lines. The you can check the setup in winbox.


/interface bridge
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes comment="" disabled=no forward-delay=
15s l2mtu=1526 max-message-age=20s mtu=1500 name=bridge1 priority=0x8000 protocol-mode=none
transmit-hold-count=6
/interface bridge port
add bridge=bridge1 comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=ether1
path-cost=10 point-to-point=auto priority=0x80
add bridge=bridge1 comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=wlan1 path-cost=
10 point-to-point=auto priority=0x80
/interface bridge settings
set use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=no


/interface bridge port
add bridge=bridge1 comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=ether1
path-cost=10 point-to-point=auto priority=0x80
add bridge=bridge1 comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=wlan1 path-cost=
10 point-to-point=auto priority=0x80


/ip pool
add name=DHCP_1 ranges=192.168.0.110-192.168.0.130

/ip dhcp-server
add address-pool=DHCP_1 authoritative=yes bootp-support=static disabled=no interface=bridge1 lease-time=3d
name=DHCPserver_1

/port
set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none stop-bits=1
set 1 baud-rate=9600 data-bits=8 flow-control=none name=usb2 parity=none stop-bits=1


/interface ppp-client
add add-default-route=yes allow=pap,chap,mschap1,mschap2 comment="" data-channel=0 dial-command=ATDT
dial-on-demand=no disabled=no info-channel=0 max-mru=1500 max-mtu=1600 modem-init=
"AT+CGDCONT=1,"IP","internet"" mrru=disabled name=Orange null-modem=no password="" phone=*99# pin=""
port=usb2 profile=default use-peer-dns=yes user=""

/ip address
add address=192.168.0.1/24 broadcast=192.168.0.255 comment="" disabled=no interface=bridge1 network=
192.168.0.0

/ip dhcp-server network
add address=192.168.0.0/24 comment="" dns-server=192.168.0.1 gateway=192.168.0.1 netmask=24

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512

/ip firewall filter
add action=drop chain=forward comment="" connection-state=invalid disabled=no
add action=accept chain=forward comment="" connection-state=established disabled=no
add action=accept chain=forward comment="" connection-state=related disabled=no
add action=accept chain=forward comment="" connection-state=new disabled=no src-address=192.168.0.0/24
add action=log chain=forward comment="" disabled=no dst-address-list=192.168.0.0/24 log-prefix=unwanted
src-address-list=!192.168.0.0/24
add action=drop chain=forward comment="" disabled=no dst-address-list=192.168.0.0/24 src-address-list=
!192.168.0.0/24
add action=accept chain=input comment="" disabled=no dst-port=22 protocol=tcp src-address=192.168.0.0/24
add action=log chain=input comment="" disabled=no dst-port=22 log-prefix="" protocol=tcp
add action=drop chain=input comment="" disabled=no dst-port=22 protocol=tcp

/ip firewall mangle
add action=change-mss chain=forward comment="" disabled=no new-mss=1400 out-interface=Orange protocol=tcp
tcp-flags=syn tcp-mss=1401-65535

/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=Orange



The routing table should be generated automatic and should look like:

DST-ADDRESS PREF-SRC GATEWAY-STATE GATEWAY DISTANCE INTERFACE

0 ADS 0.0.0.0/0 reachable 1 0.1xx.xxx.xxx. 1 Orange
1 ADC xxx.xxx.xxx.xxx/32 xxx.xxx.xxx.xxx 0 Orange
2 ADC 192.168.0.0/24 192.168.0.1 0 bridge1

Don’t paste that in without first editing and removing his mac addresses. And of course change the public IPs as well.

Tom

@Tom

Good point. I don’t use my modem that often, so I didn’t think much about it. I cleaned it up a bit and I think this is better.

Ok...I have had success with 3G connection and i can send all traffic through the 3G no sweat.

Now i would like to add PPTP connection and then send all traffic through the PPTP connection.

I have setup the PPTP connection and that connects fine.

I can then ping VPN router, but all traffic goes through 3G.

I am pretty sure my routes are not correct. Let me post my routes

[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 S 0.0.0.0/0 10.0.0.1 1
1 ADS 0.0.0.0/0 10.112.112.119 1
2 DS 0.0.0.0/0 192.168.5.254 1
3 ADC 10.112.112.119/32 115.131.193.76 ppp-out1 0
4 ADC 192.168.2.0/24 192.168.2.1 ether1 0
5 ADC 192.168.5.254/32 10.1.1.242 pptp-out1 0

And NAT:

[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=!pptp-out1


What have i got wrong??

Thanks..!!

for pptp to work you have to set up static routes that will allow you to reach the pptp server without default gateway. Disable addition of default gateway in your ppp and add it to pptp.

Janisk, could you give me an example of ths please??

Thanks..!!

Works like a charm, had to change some of the modem settings as I am from SA.
But had it up and running in 10Min!

me facing the problem stilll… cannot route the 3G traffic to Ether1 or WLAN1 :frowning:

any suggestions?