udptunnel to route wireguard #1201
Replies: 3 comments 1 reply
-
Some little progress... after running apk add libnsl-dev the compilation goes further and stops like this: gcc -g -O2 -Wall -o udptunnel udptunnel.o host2ip.o so further investigating.... |
Beta Was this translation helpful? Give feedback.
-
thanks @tbodt . I could not get the lib work, but I found a workaround my modifying host2ip.c not to use the functions. Then compilation works. However, there seems some problems with binding to ports in iSH:
to be honest, I have no idea how to maneuver around this one.
|
Beta Was this translation helpful? Give feedback.
-
I will look into solving this in python on iSH. Maybe that will be easier. Should not be too much trouble to write a simple UDP/TCP bridge |
Beta Was this translation helpful? Give feedback.
-
Hello ish Team,
I am trying around to compile udptunnel on ish with the goal to make wireguard work over TCP only connections when the router blocks outgoing UDP traffic on the network. I know there are other ways like OpenVPN, I just wonder if I can make this work instead:
iPad <-> Wireguard client UDP <-> ish udptunnel <-> TCP to wireguard server <-> udptunnel <-> Wireguard server UDP
Just now I tried to compile udptunnel on my ipad in ish but it fails with this message:
host2ip.c:7:10: fatal error: rpcsvc/ypclnt.h: No such file or directory
7 | #include <rpcsvc/ypclnt.h> /* YP */
searching the web said I shall install some rpc lib but I could not get this going.
Any suggestion here?
thanks a lot, Roger
Beta Was this translation helpful? Give feedback.
All reactions