remote xxx.xxx.x.xx 1198
This needs to have the address or IP address that you are going to connect to. So that could be:
You can uncomment the
- SRM's Internet/WAN IP address ... look in Network Center to find the current IP. But this will change if you don't have a static IP from your ISP.
- A fully qualified domain name that resolves to your router, such as myopenvpn.mydomain.com or even mydomain.com
- A Synology DDNS that you've registered, e.g. myrouter.synology.me
- Another DDNS service domain name that points to the router, e.g. myrouter.dyndns.org
#float
config command tofloat
which should enable packets from any address, not just the location specified by theremote
command.
This shouldn't be so hard: you may find it easier to use Synology's SSL-VPN service as there is no config file but does need the SRM firewall to have a similar rule to OpenVPN (just select the VPN Plus (OpenVPN) application when creating the rule).
Here is the screenshot of the Network Center
All these 3 numbers are different from the public IP address