Article 5SA4Q ask about SSH traffic forwarding in linux

ask about SSH traffic forwarding in linux

by
alikhani10
from LinuxQuestions.org on (#5SA4Q)
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=u2vIpzF4t8g:zhUsnmZrueA:F7zBnMy latest?i=u2vIpzF4t8g:zhUsnmZrueA:V_sGLiP latest?d=qj6IDK7rITs latest?i=u2vIpzF4t8g:zhUsnmZrueA: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