DNSMASQ + SoftEther IPv6 in IPv4

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
boro
Posts: 6
Joined: Wed Jun 06, 2018 5:29 pm

DNSMASQ + SoftEther IPv6 in IPv4

Post by boro » Thu Jun 07, 2018 4:43 am

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???

thisjun
Posts: 2200
Joined: Mon Feb 24, 2014 11:03 am

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by thisjun » Thu Jun 21, 2018 6:42 am

SoftEther PPP engine doesn't support IPv6 over IPv4.

boro
Posts: 6
Joined: Wed Jun 06, 2018 5:29 pm

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by boro » Fri Jun 22, 2018 3:57 am

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!

cedar
Site Admin
Posts: 960
Joined: Sat Mar 09, 2013 5:37 am

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by cedar » Fri Jul 06, 2018 4:21 am

You need to create a local-bridge on the LAN segment with IPv6 router.

boro
Posts: 6
Joined: Wed Jun 06, 2018 5:29 pm

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by boro » Fri Jul 06, 2018 4:25 am

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)?

cedar
Site Admin
Posts: 960
Joined: Sat Mar 09, 2013 5:37 am

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by cedar » Fri Jul 06, 2018 4:28 am

Unfortunately, I have not operated a Linux VPN server.
Theoretically, if IPv6 forwarding is enabled, it should work with local bridge to tap device.

boro
Posts: 6
Joined: Wed Jun 06, 2018 5:29 pm

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by boro » Fri Jul 06, 2018 4:32 am

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.

cmd wh0ami
Posts: 107
Joined: Sun Jul 16, 2017 6:58 pm

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by cmd wh0ami » Wed Aug 22, 2018 9:11 pm

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/
VPN Discord invite: https://discord.gg/QByKXA9

cmd wh0ami
Posts: 107
Joined: Sun Jul 16, 2017 6:58 pm

Re: DNSMASQ + SoftEther IPv6 in IPv4

Post by cmd wh0ami » Sat Sep 15, 2018 12:23 am

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.
VPN Discord invite: https://discord.gg/QByKXA9

Post Reply