=== polymorp- is now known as polymorphic | ||
=== keithzg_ is now known as keithzg | ||
=== MJCDzZz is now known as M_J__C___D | ||
=== M_J__C___D is now known as H1_R0LL3R | ||
=== H1_R0LL3R is now known as MJCD | ||
=== MJCD is now known as TehF00l | ||
=== TehF00l is now known as MJCD | ||
heller | hey guys, can you help me with simple IPTABLES question? | 21:40 |
---|---|---|
heller | https://pastebin.com/X9xkLL8Y what is the first line for? | 21:41 |
sdeziel | heller: it allows forwarding new and existing TCP connections to 192.168.1.200 on port 8080 | 21:45 |
heller | but i can do port forward with only one of them | 21:46 |
heller | the second line gives me port access to that ip port 2222 -> 22 | 21:46 |
heller | (changing the ports ofc) | 21:46 |
sdeziel | heller: hard to tell without the full ruleset but the DNAT rule also needs a corresponding FORWARD rule, normally | 21:47 |
heller | https://pastebin.com/QyXW6pBb better example | 21:49 |
heller | so by just adding the nat rule, i can access the 172.20.0.10 ip | 21:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!