Community discussions

MikroTik App
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

ADSL=MT=VPN??

Thu Nov 03, 2016 6:42 am

Hi,
i want to ask you, my internet finished at bilion(adsl router).I got Public IP, also i connected rb433 to that router via lan. My quastion is, can i access to rb433 by VPN from outside? i need to apply rules on NAT but i have no idea.

Thanks
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 11:50 am

1. Open/Port forward ports from ADSL router to RB433. http://www.speedguide.net/faq/what-port ... raffic-163
2. Enable the VPN server you want in RB433 (PPTP, L2TP, OVPN, SSTP). From Winbox go to PPP-Interface
3. Create the user/users of VPN. From winbox go to PPP->Secrets
4. Check the following links:
http://wiki.mikrotik.com/wiki/Manual:Interface/PPTP
http://wiki.mikrotik.com/wiki/Manual:Interface/L2TP and http://wiki.mikrotik.com/wiki/L2TP_%2B_ ... r_and_a_PC
http://wiki.mikrotik.com/wiki/Manual:Interface/OVPN
http://wiki.mikrotik.com/wiki/Manual:Interface/SSTP
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 12:59 pm

all things i've been doing, i'm making mistake with the rules on the MT. i need some good rules for the NAT. Did you do before?

Thanks
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:11 pm

Did you set the ADSL router in Bridge mode or not?
Go to Net Terminal and type:
ip firewall nat export

and post it here.
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:20 pm

/ip firewall nat
add chain=dstnat action=dst-nat in-interface=[WAN INTERFACE NAME] protocol=udp to-addresses=[INSIDE IP ADDRESS OF HOST]
add chain=dstnat action=accept in-interface=[WAN INTERFACE NAME] protocol=udp dst-port=1701,500,4500
add chain=dstnat action=dst-nat in-interface=[WAN INTERFACE NAME] to-addresses=[INSIDE IP ADDRESS OF HOST]
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:29 pm

Your ADSL router is in Bridge mode?
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:32 pm

i would like with out bridge :)
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:36 pm

i would like with out bridge :)
So, remove from your Firewall the three nat rules and port forward from your ADSL router the udp ports 1701,500,4500 to your IP address of RB433.
Do you have any rules on Firewall->Filter?
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:39 pm

i already tried like that,no respond
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 1:41 pm

Have you asked your provider if those ports are blocked?
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 2:18 pm

actually i've been using ssh,telnet,winbox, i'm thinking..about that i haven't block for the ports
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 2:29 pm

Make an export of IP->Firewall->Filter
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 2:31 pm

empty
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: ADSL=MT=VPN??

Thu Nov 03, 2016 2:46 pm

Who is online

Users browsing this forum: almdandi and 95 guests