How would I go about redirecting traffic
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am running Ubuntu 16.04 lts and I'm attempting to redirect all outgoing TCP traffic from my host:6030 to IP1:443, and all incoming traffic from IP1:443 back to host:6030. I have tried this and it works a little bit but it creates some lag (my guess it creates a loop). I am on a gigabit network with a powerful cpu, so I don't thing there would be possible bottlenecking issues. My apologizes if this post appears unclear, I am relatively new to networking. The rules that I was using:
iptables -t nat -I PREROUTING --src 0/0 --dst 207.207.240.1 -p tcp --dport 6030 -j REDIRECT --to-ports 443
iptables -t nat -I OUTPUT --src 0/0 --dst 207.207.240.1 -p tcp --dport 443 -j REDIRECT --to-ports 6030
networking iptables
add a comment |Â
up vote
1
down vote
favorite
I am running Ubuntu 16.04 lts and I'm attempting to redirect all outgoing TCP traffic from my host:6030 to IP1:443, and all incoming traffic from IP1:443 back to host:6030. I have tried this and it works a little bit but it creates some lag (my guess it creates a loop). I am on a gigabit network with a powerful cpu, so I don't thing there would be possible bottlenecking issues. My apologizes if this post appears unclear, I am relatively new to networking. The rules that I was using:
iptables -t nat -I PREROUTING --src 0/0 --dst 207.207.240.1 -p tcp --dport 6030 -j REDIRECT --to-ports 443
iptables -t nat -I OUTPUT --src 0/0 --dst 207.207.240.1 -p tcp --dport 443 -j REDIRECT --to-ports 6030
networking iptables
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am running Ubuntu 16.04 lts and I'm attempting to redirect all outgoing TCP traffic from my host:6030 to IP1:443, and all incoming traffic from IP1:443 back to host:6030. I have tried this and it works a little bit but it creates some lag (my guess it creates a loop). I am on a gigabit network with a powerful cpu, so I don't thing there would be possible bottlenecking issues. My apologizes if this post appears unclear, I am relatively new to networking. The rules that I was using:
iptables -t nat -I PREROUTING --src 0/0 --dst 207.207.240.1 -p tcp --dport 6030 -j REDIRECT --to-ports 443
iptables -t nat -I OUTPUT --src 0/0 --dst 207.207.240.1 -p tcp --dport 443 -j REDIRECT --to-ports 6030
networking iptables
I am running Ubuntu 16.04 lts and I'm attempting to redirect all outgoing TCP traffic from my host:6030 to IP1:443, and all incoming traffic from IP1:443 back to host:6030. I have tried this and it works a little bit but it creates some lag (my guess it creates a loop). I am on a gigabit network with a powerful cpu, so I don't thing there would be possible bottlenecking issues. My apologizes if this post appears unclear, I am relatively new to networking. The rules that I was using:
iptables -t nat -I PREROUTING --src 0/0 --dst 207.207.240.1 -p tcp --dport 6030 -j REDIRECT --to-ports 443
iptables -t nat -I OUTPUT --src 0/0 --dst 207.207.240.1 -p tcp --dport 443 -j REDIRECT --to-ports 6030
networking iptables
edited Apr 11 at 13:57
Jaken551
1678
1678
asked Apr 11 at 12:44
Dode
61
61
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f437008%2fhow-would-i-go-about-redirecting-traffic%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password