Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Kim Jensen <kimj@dawn.dk>
To: James O'Gorman <james@netinertia.co.uk>, netfilter@lists.netfilter.org
Subject: Re: SSH and NAT
Date: Mon, 24 Mar 2003 23:14:13 +0100	[thread overview]
Message-ID: <200303242314.13073.kimj@dawn.dk> (raw)
In-Reply-To: <20030324203629.GH8391@netinertia.co.uk>

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



  parent reply	other threads:[~2003-03-24 22:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030324182922.GF8391@netinertia.co.uk>
2003-03-24 20:27 ` SSH and NAT Brad Morgan
     [not found]   ` <20030324203629.GH8391@netinertia.co.uk>
2003-03-24 22:14     ` Kim Jensen [this message]
     [not found]       ` <20030324224026.GN8391@netinertia.co.uk>
2003-03-25  1:08         ` Marcelo Moreira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200303242314.13073.kimj@dawn.dk \
    --to=kimj@dawn.dk \
    --cc=james@netinertia.co.uk \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox