Comments (7)
I'm pretty sure you can't do DHCP on a TUN device (as opposed to TAP). Have you
tried whether dhcpcd works?
Original comment by [email protected]
on 14 Feb 2014 at 4:05
from badvpn.
I tried dhclient which didn't give any errors which is why I assumed it was OK
(and the fact that dhcp works at the application layer). However, on trying
dhcpcd I do get an error: "err, tun0: interface is not Ethernet, FireWire,
InfiniBand or Token Ring"
Original comment by [email protected]
on 14 Feb 2014 at 4:59
from badvpn.
Am currently writing a template to get the information from "ip route" output
using regular expressions. If you can think of an easier way please tell me.
Original comment by [email protected]
on 14 Feb 2014 at 5:00
from badvpn.
Well, the answer at this time is simply that it's not supported. Use TAP, if
you can, or assign addresses some other way than DHCP.
Original comment by [email protected]
on 14 Feb 2014 at 5:01
from badvpn.
Have you tried letting openvpn assign the address? I know that integrating such
tools like VPN clients is painful, but it can be done. For inspiration you can
check my PPOoE code,
https://code.google.com/p/badvpn/source/browse/trunk/ncd/examples/router/pppoe.n
cdi
Original comment by [email protected]
on 14 Feb 2014 at 5:14
from badvpn.
Yes openvpn automatically assigns the ip address & gateway to a tun device in
the main routing table, but I need to know what they are so that I can update
other routing tables. Anyway, I've done it now: I wrote a template to get the
information from iproute2. I will send you a copy.
Original comment by [email protected]
on 15 Feb 2014 at 1:35
from badvpn.
Not expecting this to be implemented anytime soon since it's a very rare
configuration not even supported by dhcpcd.
Original comment by [email protected]
on 17 Feb 2014 at 10:07
- Changed state: WontFix
from badvpn.
Related Issues (20)
- Need source IP passing to SOCKS HOT 15
- How to build tun2socks on Windows HOT 4
- How to build tun2socks on Windows HOT 1
- wont work on Windows Xp (faild to get ConnectEx) HOT 5
- Ignore certain ports? HOT 6
- cant write to file HOT 4
- [deleted issue]
- Feature request: UDP support
- Can not intilise tun2socks DeviceIoControl(TAP_IOCTL_GET_MTU) failed HOT 1
- tun2socks on Win7 doesn't work HOT 6
- Can not intilise tun2socks DeviceIoControl(TAP_IOCTL_GET_MTU) failed HOT 1
- How can i log the sites visited by badvpn HOT 1
- This is a little bit complicated. HOT 4
- No SOCKS authentication HOT 9
- Connects/routes perfectly but after 5 minutes connections revert to normal route? HOT 13
- Possible to forward DNS lookups through socks server? HOT 6
- Failed to parse arguments if <human_name_of_TUN_device> contains spaces HOT 2
- Where does the badvpn-udpgw process run at ? HOT 1
- tun2socks not picking up traffic straight after reboot HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from badvpn.