Score:0

Reverse Proxy using iptables to proxy raw TCP connections

in flag

(Sorry if this is a duplicate i tried for a good while to get this to work)

I want to forward port 7777 on server 1 to port 2 on server 2. These servers are on different networks. My current setup of iptables is :

iptables -t nat -A PREROUTING -p tcp --dport 7777 -j DNAT --to-destination 122.109.220.243:7777
iptables -t nat -A POSTROUTING -j MASQUERADE

The above commands still don't appear to work, can anyone help?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.