Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. D

    How to restrict VPN network access to certain IP Range or Hosts for specific VPN client

    Thank you. Can I just add this rule via SSH on the router? Or how has this to be made persistent, means do I need to add it somewhere to a "/jffs/xxxx" script configuration?
  2. D

    How to restrict VPN network access to certain IP Range or Hosts for specific VPN client

    Thank you, yes this helps to assign a static client IP for the specific VPN user. However I need help how to specify the IP firewall rule so that the VPN client IP "10.8.0.99" can only access "192.168.1.100". Any suggestions how and where this need to be configured?
  3. D

    How to restrict VPN network access to certain IP Range or Hosts for specific VPN client

    Ok I solved the problem, the file need to have the same name as my user "/jffs/configs/openvpn/ccd/myuser" without any suffix. However I need help how to specify the IP firewall rule so that the VPN client IP "10.8.0.99" can only access "192.168.1.100". Any suggestions?
  4. D

    How to restrict VPN network access to certain IP Range or Hosts for specific VPN client

    I started to configure an own client config directory in order to apply for my specific VPN user a specific IP address. So in the "Configuration" the following lines client-connect /jffs/scripts/ovpn-client-connect.sh username-as-common-name client-config-dir /jffs/configs/openvpn/ccd Via...
  5. D

    Solved Local DNS and VPN Clients

    Ok I could resolve the issue by adding the following in the "Custom Configuration" push "dhcp-option DNS <my router local IP Address>"
  6. D

    Solved Local DNS and VPN Clients

    I have added custom DNS entries for my network on my Asus Router with the Merlin firmware. I followed therefore the following post https://www.neolisk.blog/posts/2020-08-14-configure-hosts-file-asus-rt-ax88u When I now connect via VPN to my network then these DNS entries get unfortunately not...
  7. D

    Solved Exists an Option to disable VPN Access for "Admin" user ?

    Thank you it works now Here the final content I ended with: #!/bin/sh [ $username == "admin" ] && exit 1 || exit 0
  8. D

    Solved Exists an Option to disable VPN Access for "Admin" user ?

    I restarted the router and the VPN Server starts now with the "client-connect" script. However I always get the error "Dec 29 16:21:25 ovpn-server1[19616]: client WARNING: Failed running command (--client-connect): external program exited with error status: 1", allthough I login with a different...
  9. D

    Solved Exists an Option to disable VPN Access for "Admin" user ?

    Thank you, Yes I see "Dec 29 15:52:47 ovpn-server1[13611]: Options error: --client-connect script fails with '/jffs/scripts/ovpn-client-connect.sh': Permission denied (errno=13)" But I don't understand why I have applied "chmod +x /jffs/scripts/ovpn-client-connect.sh" and also see that the...
  10. D

    Solved Exists an Option to disable VPN Access for "Admin" user ?

    Thank you but it seems not to work when I enter a "Custom Configuration" into the advanced settings tab of the VPN server configuration then I get an error "OpenVPN server daemon failed to start. Please check your device environment or contents on the Advanced Setting page." client-connect...
  11. D

    How to restrict VPN network access to certain IP Range or Hosts for specific VPN client

    I like to add for the VPN access some policies or firewall rules which should only allow to access a single machine in the network for a given VPN Client / User. How Can I do that? Lets assume I have a server in my network "192.168.1.100" and a VPN user "server admin". The VPN Client IP Range...
  12. D

    Solved Exists an Option to disable VPN Access for "Admin" user ?

    When you create a VPN Server (OVPN), then there is always an "admin" user already reconfigured which can not be deleted or disabled. Exists a way how I can disable this "admin" user so he can not connect through VPN?
Top