Report this

What is the reason for this report?

how to set up forwarding

Posted on June 22, 2020

i need port forwading i have installed linux debian 9 and vpn server pptp i need forward port 8270 to 192.168.254.2:8270 how to ?

i try with this butnot working

sysctl net.ipv4.ip_forward = 1 iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 8270 -j DNAT –to-destination 192.168.245.1:8270 iptables -A FORWARD -p tcp -d 192.168.245.2 –dport 8270 -j ACEPTA iptables -A POSTROUTING -t nat -s 192.168.245.2 -o eth0 -j MASQUERADE

intente de esta otra manera:

sysctl net.ipv4.ip_forward = 1 iptables -t nat -A PREROUTING -p tcp –dport 8270 -j DNAT –to-destination 192.168.245.2:8270 iptables -t nat -A POSTROUTING -j MASQUERADE

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.