Changeset 7c270d4 in lab.git for iptables


Ignore:
Timestamp:
Jul 7, 2009 11:30:18 PM (15 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
3a5184c
Parents:
0d809d3
Message:
  • wait for a while to surely set rules
    • sometimes fail to set rules for some unclear reason

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@18 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • iptables/setlan2wan.sh

    re829fd8 r7c270d4  
    2929 
    3030# set rule 
     31( 
     32sleep 60 
     33 
    3134/sbin/iptables -t nat -A PREROUTING -i ${LANIF} -s ${LANMASK} -d ${WANIP} -j DNAT --to-destination ${LANIP} 
    3235echo "set rule for access to WAN device on router node from LAN clients" 
     36 
     37) & 
Note: See TracChangeset for help on using the changeset viewer.