Forum Discussion

Conor_Cunningha's avatar
Conor_Cunningha
Icon for Nimbostratus rankNimbostratus
Oct 22, 2008

HTTP POST from a NAT'd address

G'day,

 

 

I have a situation as follows.

 

 

BigIP Box with a VS 172.16.242.88

 

Node 1 on 172.16.242.21

 

Node 2 on 172.16.242.22

 

 

From a network which is directly routable to 172.16.242.0/24 I can connect and use the BigIP and its iRule no problems at all. I am sending a HTTP POST to the BigIP like (look at the Host header)

 

 

POST /imps/csp HTTP/1.1

 

 

User-Agent: Jakarta Commons-HttpClient/3.1

 

 

Content-Type: application/vnd.wv.csp.xml; charset=UTF-8

 

 

Content-Length: 1241

 

 

Host: 172.16.242.99:8080

 

 

This works fine.

 

 

However, if I try to access this from a mobile network towards an public address (194.1xx.1x.xxx) which as port forwarding and natting towards the BigIP VS with a post such as (look at the Host header)

 

 

POST /imps/csp HTTP/1.1

 

 

User-Agent: Jakarta Commons-HttpClient/3.1

 

 

Content-Type: application/vnd.wv.csp.xml; charset=UTF-8

 

 

Content-Length: 1241

 

 

Host: 194.1xx.1x.xxx:8080

 

 

The BigIP doesn't seem to send the HTTP POST to any of the nodes.

 

 

Can anyone think of a reason and even better, a solution as to why this happens?

 

 

Cheers,

 

 

Conor

2 Replies

  • Hi Conor,

     

     

    This sounds more like a routing issue. What is the default gateway set on the two servers? If it's not a BIG-IP self IP, do you have SNAT enabled on the VIP?

     

     

    Aaron
  • Aaron,

     

     

    You are absolutely right. Fixed up the routing issue and all is grand. SNAT was enabled on the box, but I stuffed up a few things elsewhere.

     

     

    Cheers,

     

     

    Conor