Advertisement

05.19.2008 at 04:24AM PDT, ID: 23413291
[x]
Attachment Details

Whether it is possible masquerade the source port ???

Asked by arulkumarabi in Linux Networking, Linux, Linux Administration

Tags: , ,

1. The Client from external world (can be any IP and and a random port between 7001 to 15000) masqueraded by its external side gateway connects to our server running on system 192.x.x.x thorugh a masqueraded gateway IP 10.x.x.1 using port 5060. THese communication happen effortlessly
 
2. The server communication continues for all established packets and once in 40 Seconds Server Generates a NEW UDP packet with source port 5062 and destines it to
     the client destination (say example 172.x.x.x:7011). This packet passess through our gateway 10.x.x.1 to the client gateway after getting masqueraded.
   
   Question:
   We want to change the Source Port address i.e 192.x.x.x:5062, to 192.x.x.x:5060 on the Gateway system (10.x.x.1) before it is forwarded to client thorugh our gateway.

Is it possible to do

Start Free Trial
 
Loading Advertisement...
 
[+][-]05.19.2008 at 10:35AM PDT, ID: 21599837

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Networking, Linux, Linux Administration
Tags: Linux, firewall, iptables
Sign Up Now!
Solution Provided By: arnold
Participating Experts: 1
Solution Grade: B
 
 
[+][-]05.19.2008 at 11:52PM PDT, ID: 21603996

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 05:58AM PDT, ID: 21605663

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 10:15PM PDT, ID: 21612261

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 11:07PM PDT, ID: 21612444

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628