Re: SSH and NAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 24 March 2003 21:36, James O'Gorman wrote:
> What I thought, was if I set up box1.domain.com and box2.domain.com as A
> records of my external IP with my ISP, then get iptables to read
> 'box1.domain.com' from a string in the header it might work, but
> obviously not. Does the IP packet header only contain IP, or address as
> well?
>
The IP packet only contain some primitive information - if you wish to deal 
with names, then you have to use DNS. You can't store the name information in 
the packet header.

I can recommend that you read about IP headers if you wish to know more about 
the construction of these magic little packets :-)

/Kim




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux