Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run `dmesg' for more information. #2

Open
MSotoudeh opened this issue Oct 6, 2022 · 1 comment
Open

Run `dmesg' for more information. #2

MSotoudeh opened this issue Oct 6, 2022 · 1 comment

Comments

@MSotoudeh
Copy link

root@ubuntu-g2-small1-si-1:/home/ubuntu# iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to 37.32.23.190
root@ubuntu-g2-small1-si-1:/home/ubuntu# iptables -t nat -A PREROUTING -j DNAT --to 94.237.93.196
root@ubuntu-g2-small1-si-1:/home/ubuntu# iptables -t nat -A PREROUTING -j MASQUERADE
iptables: Invalid argument. Run `dmesg' for more information.
root@ubuntu-g2-small1-si-1:/home/ubuntu#

@pouramin
Copy link
Owner

pouramin commented Oct 6, 2022

آی پی تیبل روی سرور نصب نیست، نصبش کنید.

sudo apt install iptables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants