Sorry, I misunderstood your question in the OP.Nope i don't see any MAC when i connect throw OpenVPN, must be something in Openvpn configuration, for example i set up 10.0.0.8/24 and when i connect from remote pc i want always to get lets say 10.0.0.10.
Port Protocol Subnet DNS
443 UDP 10.9.x.x 10.9.0.1
443 TCP 10.8.x.x 10.8.0.1
80 UDP 10.22.x.x 10.22.0.1
80 TCP 10.21.x.x 10.21.0.1
Hi! Is there any way with Asus stock firmware to set up static IPs for the clients?
--client-connect cmd
Run command cmd on client connection.
cmd consists of a path to script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces.
The command is passed the common name and IP address of the just-authenticated client as environmental variables (see environmental variable section below). The command is also passed the pathname of a freshly created temporary file as the last argument (after any arguments specified in cmd ), to be used by the command to pass dynamically generated config file directives back to OpenVPN.
If the script wants to generate a dynamic config file to be applied on the server when the client connects, it should write it to the file named by the last argument.
See the --client-config-dir option below for options which can be legally used in a dynamically generated config file.
Note that the return value of script is significant. If script returns a non-zero error status, it will cause the client to be disconnected.
cat
less
username-as-common-name
username-as-common-name
echo "ifconfig-push 10.83.79.50 255.255.255.0" > path to the ccd
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!