Redirect HTTP responses to different IP and port [on hold]Linux IPTables Destination NAT with Asymmetrical Routing?iptables port forwardingBastion Firewall Host ipTables Redirect Questioniptables NAT with multiple interfacesiptables questioniptables and DNAT. quick questionHow to configure port-forwarding to enable internal service accessed by another machine?Iptables port forwarding with restrictions on someiptables port-redirect to proxyNeed correct iptable rules for NAT instance to prevent loop back for private subnet EC2 instance outgoing traffic

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

How to prevent "they're falling in love" trope

Is it logically or scientifically possible to artificially send energy to the body?

iPad being using in wall mount battery swollen

How to remove strange space symbols in Word

Why would the Red Woman birth a shadow if she worshipped the Lord of the Light?

How do I deal with an unproductive colleague in a small company?

Arrow those variables!

How badly should I try to prevent a user from XSSing themselves?

Is there an expression that means doing something right before you will need it rather than doing it in case you might need it?

Why are the 737's rear doors unusable in a water landing?

Can a virus destroy the BIOS of a modern computer?

Do scales need to be in alphabetical order?

CAST throwing error when run in stored procedure but not when run as raw query

Dreadful Dastardly Diseases, or Always Atrocious Ailments

Zip/Tar file compressed to larger size?

Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?

Can I run a new neutral wire to repair a broken circuit?

How dangerous is XSS?

Why doesn't using multiple commands with a || or && conditional work?

Why do I get two different answers for this counting problem?

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

Are there any examples of a variable being normally distributed that is *not* due to the Central Limit Theorem?

How did the Super Star Destroyer Executor get destroyed exactly?



Redirect HTTP responses to different IP and port [on hold]


Linux IPTables Destination NAT with Asymmetrical Routing?iptables port forwardingBastion Firewall Host ipTables Redirect Questioniptables NAT with multiple interfacesiptables questioniptables and DNAT. quick questionHow to configure port-forwarding to enable internal service accessed by another machine?Iptables port forwarding with restrictions on someiptables port-redirect to proxyNeed correct iptable rules for NAT instance to prevent loop back for private subnet EC2 instance outgoing traffic













-1















In the setup I am considering, a client and a server are connected by two different networks.
The client and server eth0 interfaces are on 192.168.10.0/24 (192.168.10.1 and .2, respectively), while their eth1 interfaces are on 192.168.11.0/24 (192.168.11.1 and .2, respectively).



For some reason, I would like to access a webpage hosted in the server and send the client->server GET requests from eth0, while the responses need to go through eth1.



I tried to achieve this with NAT and iptables on the server:



sudo iptables -t nat -A OUTPUT -p tcp -d 192.168.10.1 --dport 80 -j DNAT --to-destination 192.168.11.1:80


but I keep receiving responses on 192.168.10.1.



What am I missing?










share|improve this question







New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by Ward 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Ward
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • Explain the reason behind this request; the solution you are trying to build looks like ANTTDNW

    – Paolo
    2 days ago











  • It is an experiment, I would like to force two different paths for the get & response, where the response go through a link which only works from the server to the client, and not vice versa.

    – Mychele
    2 days ago











  • The server (x.1) is listening on port 80, but the request from the client comes from some random port. So if you want to alter the output port then you would need to know what port the client used. Your rule above will not catch the random port.

    – Robert Leckie
    2 days ago











  • @Mychele conditional routing is a thing. Why don't use that? What led you to try this solution?

    – Paolo
    2 days ago















-1















In the setup I am considering, a client and a server are connected by two different networks.
The client and server eth0 interfaces are on 192.168.10.0/24 (192.168.10.1 and .2, respectively), while their eth1 interfaces are on 192.168.11.0/24 (192.168.11.1 and .2, respectively).



For some reason, I would like to access a webpage hosted in the server and send the client->server GET requests from eth0, while the responses need to go through eth1.



I tried to achieve this with NAT and iptables on the server:



sudo iptables -t nat -A OUTPUT -p tcp -d 192.168.10.1 --dport 80 -j DNAT --to-destination 192.168.11.1:80


but I keep receiving responses on 192.168.10.1.



What am I missing?










share|improve this question







New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by Ward 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Ward
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • Explain the reason behind this request; the solution you are trying to build looks like ANTTDNW

    – Paolo
    2 days ago











  • It is an experiment, I would like to force two different paths for the get & response, where the response go through a link which only works from the server to the client, and not vice versa.

    – Mychele
    2 days ago











  • The server (x.1) is listening on port 80, but the request from the client comes from some random port. So if you want to alter the output port then you would need to know what port the client used. Your rule above will not catch the random port.

    – Robert Leckie
    2 days ago











  • @Mychele conditional routing is a thing. Why don't use that? What led you to try this solution?

    – Paolo
    2 days ago













-1












-1








-1








In the setup I am considering, a client and a server are connected by two different networks.
The client and server eth0 interfaces are on 192.168.10.0/24 (192.168.10.1 and .2, respectively), while their eth1 interfaces are on 192.168.11.0/24 (192.168.11.1 and .2, respectively).



For some reason, I would like to access a webpage hosted in the server and send the client->server GET requests from eth0, while the responses need to go through eth1.



I tried to achieve this with NAT and iptables on the server:



sudo iptables -t nat -A OUTPUT -p tcp -d 192.168.10.1 --dport 80 -j DNAT --to-destination 192.168.11.1:80


but I keep receiving responses on 192.168.10.1.



What am I missing?










share|improve this question







New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












In the setup I am considering, a client and a server are connected by two different networks.
The client and server eth0 interfaces are on 192.168.10.0/24 (192.168.10.1 and .2, respectively), while their eth1 interfaces are on 192.168.11.0/24 (192.168.11.1 and .2, respectively).



For some reason, I would like to access a webpage hosted in the server and send the client->server GET requests from eth0, while the responses need to go through eth1.



I tried to achieve this with NAT and iptables on the server:



sudo iptables -t nat -A OUTPUT -p tcp -d 192.168.10.1 --dport 80 -j DNAT --to-destination 192.168.11.1:80


but I keep receiving responses on 192.168.10.1.



What am I missing?







iptables nat






share|improve this question







New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









MycheleMychele

1




1




New contributor




Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Mychele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by Ward 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Ward
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by Ward 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Ward
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Explain the reason behind this request; the solution you are trying to build looks like ANTTDNW

    – Paolo
    2 days ago











  • It is an experiment, I would like to force two different paths for the get & response, where the response go through a link which only works from the server to the client, and not vice versa.

    – Mychele
    2 days ago











  • The server (x.1) is listening on port 80, but the request from the client comes from some random port. So if you want to alter the output port then you would need to know what port the client used. Your rule above will not catch the random port.

    – Robert Leckie
    2 days ago











  • @Mychele conditional routing is a thing. Why don't use that? What led you to try this solution?

    – Paolo
    2 days ago

















  • Explain the reason behind this request; the solution you are trying to build looks like ANTTDNW

    – Paolo
    2 days ago











  • It is an experiment, I would like to force two different paths for the get & response, where the response go through a link which only works from the server to the client, and not vice versa.

    – Mychele
    2 days ago











  • The server (x.1) is listening on port 80, but the request from the client comes from some random port. So if you want to alter the output port then you would need to know what port the client used. Your rule above will not catch the random port.

    – Robert Leckie
    2 days ago











  • @Mychele conditional routing is a thing. Why don't use that? What led you to try this solution?

    – Paolo
    2 days ago
















Explain the reason behind this request; the solution you are trying to build looks like ANTTDNW

– Paolo
2 days ago





Explain the reason behind this request; the solution you are trying to build looks like ANTTDNW

– Paolo
2 days ago













It is an experiment, I would like to force two different paths for the get & response, where the response go through a link which only works from the server to the client, and not vice versa.

– Mychele
2 days ago





It is an experiment, I would like to force two different paths for the get & response, where the response go through a link which only works from the server to the client, and not vice versa.

– Mychele
2 days ago













The server (x.1) is listening on port 80, but the request from the client comes from some random port. So if you want to alter the output port then you would need to know what port the client used. Your rule above will not catch the random port.

– Robert Leckie
2 days ago





The server (x.1) is listening on port 80, but the request from the client comes from some random port. So if you want to alter the output port then you would need to know what port the client used. Your rule above will not catch the random port.

– Robert Leckie
2 days ago













@Mychele conditional routing is a thing. Why don't use that? What led you to try this solution?

– Paolo
2 days ago





@Mychele conditional routing is a thing. Why don't use that? What led you to try this solution?

– Paolo
2 days ago










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company