DNSMASQ + SoftEther IPv6 in IPv4
-
- Posts: 6
- Joined: Wed Jun 06, 2018 5:29 pm
DNSMASQ + SoftEther IPv6 in IPv4
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???
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???
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: DNSMASQ + SoftEther IPv6 in IPv4
SoftEther PPP engine doesn't support IPv6 over IPv4.
-
- Posts: 6
- Joined: Wed Jun 06, 2018 5:29 pm
Re: DNSMASQ + SoftEther IPv6 in IPv4
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!
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!
-
- Site Admin
- Posts: 2276
- Joined: Sat Mar 09, 2013 5:37 am
Re: DNSMASQ + SoftEther IPv6 in IPv4
You need to create a local-bridge on the LAN segment with IPv6 router.
-
- Posts: 6
- Joined: Wed Jun 06, 2018 5:29 pm
Re: DNSMASQ + SoftEther IPv6 in IPv4
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)?
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)?
-
- Site Admin
- Posts: 2276
- Joined: Sat Mar 09, 2013 5:37 am
Re: DNSMASQ + SoftEther IPv6 in IPv4
Unfortunately, I have not operated a Linux VPN server.
Theoretically, if IPv6 forwarding is enabled, it should work with local bridge to tap device.
Theoretically, if IPv6 forwarding is enabled, it should work with local bridge to tap device.
-
- Posts: 6
- Joined: Wed Jun 06, 2018 5:29 pm
Re: DNSMASQ + SoftEther IPv6 in IPv4
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.
If you'd like to play with it on Linux too, I can setup a linux vps for you to try it out on.
-
- Posts: 125
- Joined: Sun Jul 16, 2017 6:58 pm
Re: DNSMASQ + SoftEther IPv6 in IPv4
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/
https://az.cokh.net/softether-vpn-serve ... at-server/
-
- Posts: 125
- Joined: Sun Jul 16, 2017 6:58 pm
Re: DNSMASQ + SoftEther IPv6 in IPv4
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.
If you figure out how to do it with tap_interface Please share how you did it.