Tema: Re: dd-wrt
Autorius: TcP
Data: 2009-10-07 15:59:26
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=windows-1257 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16385"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 bgColor=#ffffff text=#000000 
CanvasTabStop="true" name="Compose message area">
<DIV><FONT size=2 face=Arial>istrini ta taisykle, kuri tavo screene parodyta, 
tada eini I Administration ir irasai ten custom firewall scripta:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>iptables -t nat -I PREROUTING -p tcp 
-s&nbsp;IP_IS_KURIO_NORI LEISTI&nbsp;-d $(nvram get wan_ipaddr) --dport 9100 -j 
DNAT --to 192.168.13.14:9100</FONT></DIV>
<DIV><FONT size=2 face=Arial><BR>iptables -I FORWARD -p tcp -d 192.168.13.14 
--dport 9100 -j logaccept</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>ir viskas veiks.</FONT></DIV></BODY></HTML>