Hi,
Newbie warning, looking for gurus here in forum for some much needed help.
I have bought Routerboard RB750G to use it as a OpenVPN client and basically want to route all the internet traffic through it.
The router configuration is otherwise out of the box configuration except I have created following OpenVPN client configuration
/ppp profile
add change-tcp-mss=default comment="" name=openvpn-out only-one=default
use-compression=default use-encryption=default use-vj-compression=default
/interface ovpn-client
add add-default-route=yes auth=none certificate=none cipher=none
comment="" connect-to=xxx.xxx.xxx.xxx disabled=no mode=ip name=OVPN-Client
user=username password=password1 port=xxxx profile=openvpn-out
I can succesfully connect to Service Provider who offers the OpenVPN server based on "Status: Connected" and from logs I see
ovpn-out1: initializing
ovpn-out1: dialing
ovpn-out1: using encoding ....
ovpn-out1: connected
system info: dns changed
and maybe 4-6 minutes I get to logs for some reason
ovpn-out1: terminating... -peer disconnected
Any tips how I can configure (route?) all the traffic through OpenVPN connection? Add-default-route did not seem to do the trick ![]()
Below are some other information that might help for answers not sure though because I am quite new in router configurations ![]()
[admin@MikroTik] /ip route> /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 ADS 0.0.0.0/0 192.168.1.254 0
1 DS 0.0.0.0/0 10.11.0.1 1
2 ADC 10.11.0.1/32 10.11.0.6 ovpn-out1 0
3 ADC 192.168.1.0/24 192.168.1.15 ether1-gateway 0
4 ADC 192.168.88.0/24 192.168.88.1 ether2-local-ma... 0
[admin@MikroTik] /ip route> /ip address print
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK BROADCAST INTERFACE
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 192.168.88.255 ether2-local-master
1 D 192.168.1.15/24 192.168.1.0 192.168.1.255 ether1-gateway
2 D 10.11.0.6/32 10.11.0.1 0.0.0.0 ovpn-out1
Best regards,
Jack