Article 5S9TP [SOLVED] port forwarding issue in linux VPS

[SOLVED] port forwarding issue in linux VPS

by
alikhani10
from LinuxQuestions.org on (#5S9TP)
hi guys
our ISPs banned mine ETH
so i rented a linux VPS in another country
i tried to do port forwarding to can connect to ETH pool by these codes :

sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp -d "X.X.X.X =VPS IP " --dport 2948 -j DNAT --to-destination stratum+tcp://ethereum.viabtc.com:3333
iptables -t nat -A POSTROUTING -j MASQUERADE

but i got this error: " iptables v1.8.4 (legacy): Port `//ethereum.viabtc.com:3333' not valid"
or " iptables v1.8.4 (legacy): Bad IP address "ethereum.viabtc.com"

what should i do to goal my aim?latest?d=yIl2AUoC8zA latest?i=cDIq_GXmGIo:wTkVJT50tOQ:F7zBnMy latest?i=cDIq_GXmGIo:wTkVJT50tOQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=cDIq_GXmGIo:wTkVJT50tOQ:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments