Score:0

Can i NAT 2 ports to same internal port?

br flag

I have a streaming camera, can i reach port 80 of the camera from two different ports?

-A PREROUTING -i eth0 -p tcp -m tcp --dport 10079 -j DNAT --to-destination 192.168.8.41:80
-A PREROUTING -i eth0 -p tcp -m tcp --dport 10080 -j DNAT --to-destination 192.168.8.41:80
cn flag
I don't see why not, have you tried it? If so and it doesn't work explain what you've tried and how you've tried to debug it (e.g. wireshark)
djdomi avatar
za flag
instead of nat, use nginx as reverse proxy
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.