GithubHelp home page GithubHelp logo

Comments (4)

shakibamoshiri avatar shakibamoshiri commented on May 27, 2024

I cannot see setting an IP for the hub
try this and report again , if did not work

/CMD SecureNatHostSet /MAC:none /IP:192.168.30.2 /MASK:255.255.255.0;

an IP for the gateway => 192.168.30.1
an IP for the hub => 192.168.30.2
some IPs for clients => 192.168.30.10 ~ 192.168.30.200

from softethervpn.

CravateRouge avatar CravateRouge commented on May 27, 2024

I still have the same issue doing:

/CMD SecureNatHostSet /MAC:none /IP:192.168.30.2 /MASK:255.255.255.0;
# I also tried
/CMD SecureNatHostSet /MAC:none /IP:192.168.30.1 /MASK:255.255.255.0;

I can ping those IPs from my softether clients but I can't reach other networks

from softethervpn.

shakibamoshiri avatar shakibamoshiri commented on May 27, 2024

this is incorrect ,

/CMD SecureNatHostSet /MAC:none /IP:192.168.30.1 /MASK:255.255.255.0;

here is the full setup

/CMD BridgeCreate VPN /DEVICE:vpn /TAP:yes;
/CMD SecureNatHostSet /MAC:none /IP:192.168.30.2 /MASK:255.255.255.0;
/CMD DhcpEnable;
/CMD DhcpSet /START:192.168.30.10 /END:192.168.30.210 /MASK:255.255.255.0 /EXPIRE:7200 /GW:192.168.30.1 /DNS:8.8.8.8 /DNS2: /DOMAIN: /LOG:yes;
/CMD NatDisable;
/CMD SecureNatEnable;


ip link set tap_vpn up
ip addr add 192.168.30.1/24 brd + dev tap_vpn

then you should be able to ping

  • 192.168.30.1
  • 192.168.30.2

then client can connect

from softethervpn.

CravateRouge avatar CravateRouge commented on May 27, 2024

I can confirm it works now, thank you.

from softethervpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.