09-16-2019, 04:48 AM
(09-15-2019, 02:07 PM)LightDestory Wrote: You created the routing rule, that's good. But you are missing a very important thing: by default forwarding is set to block the traffic. You need to enable the traffic.You only need to add the terminal code at the beginning and / terminal at the end! It is very easy !
We can imagine the forwarding as two rules:So you should create a rule like this:
- Forwarding rule to accept the traffic
- Routing rule to redirect the traffic
Code: (Select All)iptables -A FORWARD -i eth0 -p tcp –dport 22 -j ACCEPT
This command is based on your original command, using eth0 and tcp protocol
Can you tell me how to creates terminal style images like you? I know carbon but I am unable to get html code
Yes, the command doesn't work properly