Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- table nat {
- chain PREROUTING {
- interface eth0 daddr <внешний адрес> {
- proto tcp dport (1608 1609 2501 9000 9900 12345) DNAT to 10.10.0.1;
- }
- }
- chain POSTROUTING {
- outerface eth0 SNAT to-source <внешний адрес> {
- saddr 10.10.0.0/24;
- saddr 192.168.117.0/24;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement