On 06/04/17 19:05, Kapetanakis Giannis wrote:

>> so each client will be told that the gateway to send packets to is 
>> 10.0.0.1; now you're adding a client outside of the regular 
>> ifconfig-pool: that is perfectly OK, but you then need to tell the 
>> *SERVER* that packets coming from 10.0.10.1/24 are OK: it might 
>> actually be quicker to widen the subnet mask on the server tun adapter 
>> to something that includes 10.0.10 also - but this applies in both 
>> net30 and subnet mode, so how are you covering this now?
>>
>> Of course, an example like this is covered in my OpenVPN cookbook ;)
>>
>> HTH,
>>
>> JJK


I've tried your cookbook example "Using an ifconfig-pool block"
but it didn't work

However, just for the record, the following did work

topology subnet
server 10.0.0.0 255.255.0.0 'nopool'
ifconfig-pool 10.0.0.10 10.0.0.250

The above also works with ipv6 otherwise I had trouble...

ifconfig-ipv6 2001:xxxx:xxxx:xxxA::1/64 2001:xxxx:xxxx:xxxA::1
ifconfig-ipv6-pool 2001:xxxx:xxxx:xxxA::A/64
tun-ipv6
push "tun-ipv6"

client also gets the following
push "redirect-gateway def1"
push "route-ipv6 2000::/3"

G





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to