Guest User

tf_EXT-INT.mod

a guest
Jan 16th, 2012
61
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ----------------------------------------------------------------------------
  2. # TuxFrw 2.61
  3. # Copyright (C) 2001-2005 Marcelo Gondim (http://tuxfrw.sourceforge.net)
  4. # ----------------------------------------------------------------------------
  5. #
  6. # tf_EXT-INT.mod - TuxFrw EXT->INT rules module
  7. #
  8. # ----------------------------------------------------------------------------
  9. #
  10. # This file is part of TuxFrw
  11. #
  12. # TuxFrw is free software; you can redistribute it and/or modify
  13. # it under the terms of the GNU General Public License as published by
  14. # the Free Software Foundation; either version 2 of the License, or
  15. # (at your option) any later version.
  16. #
  17. # This program is distributed in the hope that it will be useful,
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. # GNU General Public License for more details.
  21. #
  22. # You should have received a copy of the GNU General Public License
  23. # along with this program; if not, write to the Free Software
  24. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  25. #
  26. # ----------------------------------------------------------------------------
  27. #
  28. # EXT->INT directional chain
  29. #
  30.  
  31. # log and reject all the unmatched packets
  32. $IPTABLES -A EXT2INT -m limit --limit 1/m --limit-burst 5 -j LOG --log-prefix "tuxfrw: EXT->INT! "
  33.  
  34. $IPTABLES -A EXT2INT -d 192.168.1.201 -p tcp --dport 3389 -j $TARGET
  35.  
  36. $IPTABLES -A EXT2INT -d 192.168.1.201 -j $TARGET
RAW Paste Data