Yes, my solution assumes that 44.1.1.1 is assigned to the tunnel and that
all services run locally.
So let's get this also up and running :-)
But I need some data: do you have a single IP assigned, or a subnet?
In other words, is there a possibility to to assign one ampr address to the
tunnel (it is ok even if it is not registered in the dns) or do you need to
use a single IP address only on the JNOS?
-----Original Message-----
From: 44net-bounces+marius=yo2loj.ro(a)hamradio.ucsd.edu
[mailto:44net-bounces+marius=yo2loj.ro@hamradio.ucsd.edu] On Behalf Of
Michael E Fox - N6MEF
Sent: Saturday, December 27, 2014 22:20
To: 'AMPRNet working group'
Subject: Re: [44net] How to make traffic coming in on the tunnel interface
get answered from that interface?
(Please trim inclusions from previous messages)
_______________________________________________
Mario,
I guess I'm still missing something.
In your suggestion below, 44.1.1.1 is the address assigned to the AMPRnet
tunnel on the linux box.
But once the inbound packet arrives there, it must still traverse another
tunnel, tun0, to JNOS (in my case).
Then JNOS responds. But the source address is JNOS's address. Linux is
just acting as a multi-interface router.
So an "ip rule" based on a linux interface as the "from" address
doesn't
apply.
Or, does your solution assume that linux is also NAT'ing the traffic,
converting the source address of the outbound back from the JNOS address to
the 44.1.1.1 address, after which the ip rule gets applied. (I'm not sure
of the processing order. I'd have to get out my iptables book!)
Thanks,
Michael
N6MEF