![]() Before I was not able to stream anything from the server to a client, but I think there was an error in one of the commands: iptables -t mangle -I OUTPUT 1 -m mark -mark 0 -j markports In the hyperlinked text above, I ended up getting the packets to forward to the local interface. Iptables -t mangle -nvL Chain PREROUTING (policy ACCEPT 14576 packets, 2179K bytes) If someone could give me another thing to try to get this port routing to work, that would be great! Possibly related, but I am also running an OpenVPN server through tun0, so I have set up some forwarding through that, but I do not think it is related. I can tell it is not working because I am still unable to access those ports through the external IP address. I made the ip route table 80, and did all the things the guide said to do, but I can't get the traffic to come out of the bond instead of the tun. I saw this thread here, but for some reason it did not seem to work. ![]() I am trying to route port X and port Y out of bond0 instead of the tun1 which is the default. I also have a OpenVPN client, tun1, that is used to encrypt all my traffic out of my server. I have a interface: bond0, that is my local interface between my server and the internet. I am trying to do the following and I am a little stuck. I am running Ubuntu 20.04, linux 5.4.0-25-generic. I am kind of new to the whole networking thing on linux.
0 Comments
Leave a Reply. |