Page 1 of 1

DNSMASQ + SoftEther IPv6 in IPv4

Posted: Thu Jun 07, 2018 4:43 am
by boro
Does anyone have a working configs/examples of IPv6 in IPv4?

I have dnsmasq configured to do DHCP, DNS and DHCPv6. IPv6 router advertisement and SLAAC is turned on too.
I'm connecting via L2TP/IPsec (preshared key) with the built in vpn client on Windows 10 Pro.
The client only gets a private IPv4 address and IPv4 internet works. No IPv6 address though :(

Is this kind of setup even possible with SoftEther???

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Thu Jun 21, 2018 6:42 am
by thisjun
SoftEther PPP engine doesn't support IPv6 over IPv4.

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Fri Jun 22, 2018 3:57 am
by boro
Thank you for the reply!

Aww that's too bad. :(
I also tried the SoftEther client and OpenVPN both also only gave me IPv4 addresses. Do you have a config file with any protocol having 6in4 working? (or a link to a conf file)

Thanks!

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Fri Jul 06, 2018 4:21 am
by cedar
You need to create a local-bridge on the LAN segment with IPv6 router.

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Fri Jul 06, 2018 4:25 am
by boro
Thanks for the reply!

I've created a softether local bridge with a tap adapter that has a private static ipv4 and ipv6 assigned to it. Dnsmasq is also configured to advertise ipv6.

Do you have an example of a local-tap-bridge (not a local bridge to the physical nic interface) and an IPv6 router/dhcp config (no router is available on the physical local network but instead a software listening on the virtual/tap adapter only and NATing to the physical network)?

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Fri Jul 06, 2018 4:28 am
by cedar
Unfortunately, I have not operated a Linux VPN server.
Theoretically, if IPv6 forwarding is enabled, it should work with local bridge to tap device.

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Fri Jul 06, 2018 4:32 am
by boro
Oh okay, I'll keep at it and try to make it work.

If you'd like to play with it on Linux too, I can setup a linux vps for you to try it out on.

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Wed Aug 22, 2018 9:11 pm
by cmd wh0ami
I've been trying to follow these directions but I can't get IPv4 to work with dnsmasq without using Secure NAT let alone IPv6... Maybe you'll have better luck.

https://az.cokh.net/softether-vpn-serve ... at-server/

Re: DNSMASQ + SoftEther IPv6 in IPv4

Posted: Sat Sep 15, 2018 12:23 am
by cmd wh0ami
I got dual stack ipv4 and ipv6 to work on home server behind NAT by bridging to eth0. No dnsmasq, sysctl forward settings, or t-nat iptables needed.

If you figure out how to do it with tap_interface Please share how you did it.