Page 1 of 1

OpenVPN

Posted: Fri Jan 11, 2019 9:39 pm
by edys
Hello,
In the past i used and tplink archer c7 and succesfull create an openvpn server. I just wana create on the mikrotik router too. My ppoe connection its direct on the mikrotik router, i have hap ac .
- created certificates and sign it.
- created a pool named openvpn with addresses : 10.8.0.2 - 10.8.0.40 i let the 10.8.0.1 to be the server
- i succesful enabled the openvpn via ppp->openvpn.
- i saw many tutorial on youtube. i just wana connect via my dns(dns its offered by the provider) to openvpn server.
- i just make same nat rules, but i cannot connect to the openvpn server.
Can someone explain me please what firewall rules to apply to can connect to the openvpn server via my dns? Yes, i know i`m new (nub) on this router and i dont have to many skills, but i just try to learn.
my router ip is 192.168.0.1
Thanks a lot,
Edy

Re: OpenVPN

Posted: Fri Jan 11, 2019 10:28 pm
by Paternot
Your IP address 192.168.x.x is a private one - no one will be able to reach it. Your ISP is doing NAT (or CGNAT).

Try to get a public IP address, or see if your ISP do a port forward to you (highly unlikely, but worth a try).

Re: OpenVPN

Posted: Sat Jan 12, 2019 9:32 pm
by neutronlaser
NAT

Re: OpenVPN

Posted: Wed Jan 16, 2019 11:03 am
by edys
Your IP address 192.168.x.x is a private one - no one will be able to reach it. Your ISP is doing NAT (or CGNAT).

Try to get a public IP address, or see if your ISP do a port forward to you (highly unlikely, but worth a try).
my internal ip is 192.168.x.x, on the tplink i have an option called DMZ which make my internal ip to can pe access from public ip. so if i have 192.168.0.1 and i enable dmz my router can be accessed from my public address. if worked on ddwrt with tplink archer should work here too,but its a little but to complicate for me and i dono what NAT to do. the problem is i cannot connect not even on local address. thanks for reply.

Re: OpenVPN

Posted: Wed Jan 16, 2019 11:04 am
by edys
NAT
be more specific , i know i need to make NAT. thanks for reply