Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. table nat {
  2. chain PREROUTING {
  3. interface eth0 daddr <внешний адрес> {
  4. proto tcp dport (1608 1609 2501 9000 9900 12345) DNAT to 10.10.0.1;
  5. }
  6. }
  7. chain POSTROUTING {
  8. outerface eth0 SNAT to-source <внешний адрес> {
  9. saddr 10.10.0.0/24;
  10. saddr 192.168.117.0/24;
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement