Score:0

IPtables firewall rules - Ubuntu

ng flag

Can you please explain to me the difference between this 2 IPtables rules, there were implemented to transfer packets from external internet users to a local server :

iptables -t nat -A PREROUTING -p tcp -d $IFACE_INTERNET --dport 443 -j DNAT --to-destination $WEB_SERVER

iptables -A FORWARD -p TCP -i $IFACE_INTERNET -d $WEB_SERVER --dport 443 -j ACCEPT

If only "NAT" rule is implemented we won't be able to access the server.

Thanks

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.