Hi - i bought a rb951 for getting acces to my webcam over an l2tp tunnel.
The webcam is behind a fritz box as a gateway with 192.168.0.201.
The routerboard is between fritz box and webcam and is acessable over 192.168.0.41.
the fritzbox got 192.168.0.2.
on the routerboard i have a running l2tp client and a bridge configured that contains all ports because i want to use it as aswitch and not for translating ip adresses but only ports.
So my vpn ip xxx.xxx.xxx.xxx with port 8080 should be send to webcam port 80
as ip → adresses i have my vpn ip on interface l2tp-out and 192.168.0.41 on interface bridge.
there’s no connection from my public vpn adress to the webcam, even no ping…
The routerboard actually only acts as a switch.
What to do???
Post the current config using /export compact.
here we are:
[admin@MikroTik] > export compact
jan/06/1970 07:07:16 by RouterOS 5.20
software id = LD1K-MDA1
/interface bridge
add l2mtu=1598 name=bridge1
/interface wireless
set 0 l2mtu=2290
/interface l2tp-client
add connect-to=xxx.xxx.xxx.xxx name=l2tp-out1 password=...... user=.....
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=wlan1
/ip address
add address=192.168.0.41/24 interface=bridge1
/ip firewall nat
add action=dst-nat chain=dstnat dst-address=192.168.0.41 dst-port=8080
protocol=tcp to-addresses=192.168.0.201 to-ports=80
/ip route
add distance=1 gateway=192.168.0.254
/system leds
set 0 interface=wlan1
/system routerboard settings
set cpu-frequency=400MHz
[admin@MikroTik] >
[admin@MikroTik] > export compact
jan/10/1970 05:56:12 by RouterOS 5.20
software id = LD1K-MDA1
/interface bridge
add l2mtu=1598 name=bridge1
/interface wireless
set 0 l2mtu=2290
/interface l2tp-client
add add-default-route=yes connect-to=server ip disabled=no name=l2tp-out1
password=*** user=***
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/interface bridge port
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether4
/ip address
add address=192.168.0.41/24 interface=bridge1
/ip firewall nat
add action=dst-nat chain=dstnat dst-address=tunnel ip protocol=tcp
to-addresses=193.168.0.40
/ip route
add check-gateway=ping distance=1 gateway=192.168.0.254
/system leds
set 0 interface=wlan1
/system routerboard settings
set cpu-frequency=400MHz