403Webshell
Server IP : 23.94.149.180  /  Your IP : 216.73.216.147
Web Server : nginx/1.20.1
System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64
User : nginx ( 991)
PHP Version : 8.6.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /files/www/hacklab/phpfwgen/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /files/www/hacklab/phpfwgen/help-portfwd.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
<HTML>

<HEAD>
<TITLE>Help: Port Forwarding Rules</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<TABLE WIDTH=100% BGCOLOR=#339933>
<TR>
  <TD ALIGN=LEFT VALIGN=TOP><FONT SIZE=+2 COLOR=WHITE>Help: Port Forwarding Rules</FONT></TD>
</TR>
</TABLE>

<TABLE BORDER=0 CELLSPACING=2 CELLPADDING=4>

<TR><TD>&nbsp;</TD><TD><HR></TD></TR>

<TR><TD ALIGN=LEFT VALIGN=TOP><B>Introduction</B></TD>
<TD>

Enter your port forwarding rules here.  You need to enter the following
for each rule:

<UL>
<LI><B>Rule Number</B>: This defines where the rule is entered into
the list.  For example, to enter a new rule between 100 and 200,
number it "150".  The rules will be re-numbered on each iteration
of the firewall, so you can continue entering rules between each
new pair of rules.  If you leave this blank then the rule will go
at the end of the rule set.
<LI><B>Protocol</B>: Select a network protocol, udp or tcp.
<LI><B>From</B>: Where the forwarding is starting from (where the packet
is originally sent to by the source).
<LI><B>From Port</B>: What port the forwarding is starting from
(what port the packet was originally sent to).
<LI><B>Destination</B>: Select a destination network object (where the
packet is to be forwarded to).
<LI><B>Destination Port</B>: Select a destination network port (what port
the packet is to be forwarded to).
</UL>

Note that the <B>From Port</B> and <B>Destination Port</B> must both use
the same protocol.  You cannot port forward a TCP connection to a UDP port.

<HR></TD></TR>

<TR><TD ALIGN=LEFT VALIGN=TOP><B>What is<BR>Port Forwarding?</B></TD>
<TD>

Port Forwarding is the reverse of IP masquerading.  Masquerading works
for all connections going out to the internet from a machine that is
"hidden" on a network behind the firewall.
<P>

Port Forwarding allows connections in to a masqueraded machine, from
the internet.
<P>

You need to have masquerading turned on for a network object in order
for port forwarding to that network object to work.

<HR></TD></TR>

<TR><TD ALIGN=LEFT VALIGN=TOP><B>Example<BR>Rules</B></TD>
<TD>

Here are some quick example rules that you might like to use.  The
rules are specified in the following format:

<UL>
<LI>Protocol From From Port Destination Destination Port
</UL>

<P>

<OL>
<LI>Forwarding packets to a mail server, where ETH0 is your firewall's
internet address:
<UL>
<LI>tcp ETH0 smtp MAILSERVER smtp
</UL>
<LI>Forwarding packets from your ETH1 address to a web server called WEBSERVER:
<UL>
<LI>tcp ETH1 www WEBSERVER www
</UL>
</OL>

<HR></TD></TR>

<TR><TD ALIGN=LEFT VALIGN=TOP><B>Tricks and<BR>Traps</B></TD>
<TD>

There are no functions to renumber, copy, or move a rule in this system.
Some ways around this include:

<UL>
<LI>To copy a rule:  Click on the "Edit" icon, and change the rule number.
For example, to make a copy of rule 3100, edit it, and change the rule
number field in the edit window to 3150.  When this is saved it will appear
as a new rule.
<LI>To move or renumber a rule:  Copy the rule to the new location, then
delete the old rule.
<LI>To delete a bunch of rules:  Click the delete button multiple times.
How lazy can you get?
</UL>

<HR></TD></TR>

</TABLE>

</BODY>
</HTML>

Youez - 2016 - github.com/yon3zu
LinuXploit