Community discussions

MikroTik App
 
Komerad
just joined
Topic Author
Posts: 12
Joined: Wed Jul 30, 2014 6:05 pm

Port/Interface routing.

Sat Mar 21, 2015 12:08 am

After 2 days it's almost hammer time.

How do I route a port/interface somewhere.

Source is not an ip or mac. Just any device regardless of ip plugged in that specific port will be routed over the vpn.
Don't mind the vpn part just want to know how to route ports/interfaces.

This afternoon the samba shares showed up fine. Now they are unreachable from this subnet while the nas page still is.
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Port/Interface routing.

Sat Mar 21, 2015 1:29 am

in /ip route - add interface to desired dst address
 
Komerad
just joined
Topic Author
Posts: 12
Joined: Wed Jul 30, 2014 6:05 pm

Re: Port/Interface routing.

Sat Mar 21, 2015 2:56 am

I don't see how to add an interface directly as source.

I made a pptp interface wich is connected to a vpn service and I need :

ether8-slave-local

To use it.
Only that interface regardless of ip adress it has. Whatever cable gets plugged in that port should use the vpn.
It works if I use ip adresses but I can't seem to choose an interface as source anywhere.
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Port/Interface routing.

Sat Mar 21, 2015 12:41 pm

If you route Source ip . not dst ip -. use rute rule and or Connection/Routing mark in mangle firewall

Who is online

Users browsing this forum: No registered users and 12 guests