Create Return To Sender Settings
Return To Sender allows SWG to send response packets for any request on the same interface on which it received them. SWG bypasses the kernel routing to route the response packets. It can be applied to a specific IP address and port for inbound or outbound traffic. Return To Sender is applied only for packets going through the default route.
Return To Sender is no applied to:
- Traffic that is routed using any statically configured routes.
- Traffic that follows the interface-based routes.
IMPORTANT: You add a maximum of 200 inbound and 200 outbound IP addresses and ports.
To enable Return To Sender settings:
- Select Configuration > Appliances.
- Select Proxies (HTTP(S), FTP, SOCKS, ICAP ...).
- In the configuration pane, scroll down to Return To Sender.
- Select Return To Sender.
- Select Enable Debug Messages of Return to Sender to enable logging in the kernel modules. Then select to enable debug messages on inbound and/or outbound connections:
- Enable Debug Messages of Return to Sender On InBound Connections.
- Enable Debug Messages of Return to Sender On OutBound Connections.
- You can collect the logs on inbound and outbound redirection separately by using the following command:
sudo cat /sys/kernel/debug/tracing/trace_pipe > dump.txt.
Open dump.txt to see the messages.
- To create new settings, use one of the following methods:
- Right-click the configuration pane and click Edit. The settings for Return To Sender in the configuration pane appear.
You can configure the IP address and port on which Return To Sender is applied, and select if Return To Sender should be applied to inbound only or outbound connections. - Click Add right away.
The Return To Sender Port window opens.
You can configure the IP address and port on which Return To Sender is applied, and select if Return To Sender should be applied to inbound only or outbound connections.
- Right-click the configuration pane and click Edit. The settings for Return To Sender in the configuration pane appear.
- Click Ok.