E
E
ernesto chegevara2016-03-22 10:54:11
openvpn
ernesto chegevara, 2016-03-22 10:54:11

Access to Mikrotik network via OpenVPN (usb 3g modem) only for management?

friends, I apologize for a possibly childish question :)
1. Mikrotik RB951G-2HnD
2. white IP to 3G usb modem
3. OpenVPN server is raised on Mikrotik by mana
4. I successfully connect to openVPN <white IP>
on the client Mikrotik did not lose the Internet (via WAN and not a 3G modem)
and the openVPN client had access only to manage and configure Mikrotik (192.168.88.1) and freenas (192.168.88.100)
thanks in advance for support and help :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Diman89, 2016-03-22
@Diman89

You need to hit addresses from openvpn network to 192.168.88.x addresses and don't forget about port forwarding for tick and freenas 80x ports

A
Alexander Romanov, 2016-03-22
@moneron89

Did I understand correctly that 3g is used only for openVPN and only for management and access to US?
Create an OpenVPN server binding for openVPN clients, then follow into the firewall.
Then two firewall rules will help you.

/ip firewall filter add chain=input in-interface=ovpn-in1 action=accept 
/ip firewall filter add chain=forward  in-interface=ovpn-in1 dst-address=!192.168.88.100 action=drop

Place them in the firewall higher, before the dropping rules, add comments that are convenient for you (so as not to forget what these rules are). enjoy.
If access to us does not work - dig routes.

E
ernesto chegevara, 2016-03-23
@che-gevara

Thanks Alexander, I'll give it a try!
yes, you understood correctly, 3g is needed ONLY to control Mikrotik and Freenas

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question