OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Open ports openvpn (Road warrior)
« previous next »
  • Print
Pages: [1]

Author Topic: Open ports openvpn (Road warrior)  (Read 2498 times)

litusbdn

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Open ports openvpn (Road warrior)
« on: June 07, 2018, 03:02:28 pm »
Good afternoon,

On my opnsense device, I have configured a VPN for a user that connects externally. On other occasions, the vpn has worked perfectly for me.

Now I find myself, that I can not connect from outside (It's a new router).

-If I ping the public IP, I get an answer.
-If I realize a telnet to the public ip, with the port 1194, I do not obtain result.

The difference is that this new router has no DMZ, that is, I have to open the ports (NAT) in the router to point to the IP WAN of the opnsense, and the opnsense made a second NAT in the OPNsense device so that can access the local network. If I do it with an RDP protocol, I can connect.

RDP: PUBLIC IP: 9898 ---> (ROUTER) ---> WAN IP OPNSENSE ----> LAN DEVICE - WORKS ---

If I do it with the VPN port, it does not work.

I suspect that the problem lies in the fact that I need to open a port other than 1194.
Can somebody help me?

Thank you.  :D
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: Open ports openvpn (Road warrior)
« Reply #1 on: June 07, 2018, 10:30:31 pm »
Can you set the router in bridge mode? That makes OPNsense responsible for the NAT and avoids having two firewalls.

Bart...
Logged

litusbdn

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: Open ports openvpn (Road warrior)
« Reply #2 on: June 07, 2018, 11:15:08 pm »
Hello,

It is not possible to put the router in bridge mode, since the PBX is currently outside the firewall, and the guest wifi itself leaves the router of the internet service provider
Logged

litusbdn

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: Open ports openvpn (Road warrior)
« Reply #3 on: June 07, 2018, 11:16:07 pm »
The ports needed by the VPN server are only 1194 UDP ?, it is not necessary to open any other port, or range of ports?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Open ports openvpn (Road warrior)
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2