18.07.2013 Views

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Setting the IP Filter NAT port rewrite range<br />

IP Filter rule basics<br />

When a packet from a source reaches the <strong>Sidewinder</strong> <strong>G2</strong> and matches<br />

an IP Filter rule with NAT configured, the source port and source<br />

address will be rewritten and the packet will then be forwarded to its<br />

destination.<br />

To facilitate this process, the IP Filter reserves a block <strong>of</strong> 200 ports for<br />

its own use. The OS will never allow a process to bind to a port in<br />

this range. Creating a TCP generic services proxy in this port range<br />

will not work. The default range is set to 38000–38199.<br />

If you need a port in IP Filter's reserved range (perhaps for a generic<br />

proxy), the range can be moved by modifying the Start <strong>of</strong> Reserved<br />

Ports field in the IP Filter Properties window. See “Viewing and<br />

modifying general IP Filter properties” on page 7-25.<br />

It is possible that an existing TCP proxy connection may be using a<br />

port in the range you specify. In this case the ipfilter command<br />

will fail. You should look at the current port usage by entering the<br />

netstat -a command and adjust the IP Filter port range accordingly.<br />

Specifying the source port in an IP Filter rule<br />

The <strong>Sidewinder</strong> <strong>G2</strong> enables you to specify the source port value to<br />

use in an IP Filter connection. This capability is typically only used<br />

when connecting to an application that requires the source port to be<br />

a specific value. (In some cases the application will require the source<br />

port to be the same value as the port on which the application is<br />

listening.)<br />

This capability is implemented by configuring NAT on the appropriate<br />

IP Filter rule. This "source port" implementation <strong>of</strong> NAT, however, is<br />

different from a normal implementation <strong>of</strong> NAT.<br />

Normal—Each connection uses the same IP address but gets its<br />

source port from a pool <strong>of</strong> ports. When using normal NAT rules,<br />

the total number <strong>of</strong> connections is dependent on the number <strong>of</strong><br />

ports reserved for IP Filter in the IP Filter Properties window.<br />

Understanding Policy Configuration 4-33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!