[Simh] NAT
Ken Wiebe
me at networkguy.com
Wed Sep 12 11:19:45 EDT 2018
Hi Mark,
Thanks for pointing that out. Duh. I think I was up too late
last night.
Ken
On Wed, Sep 12, 2018, at 05:47, Mark Pizzolato wrote:
> Hi Ken,
>
> The example you're using IS ALREADY mapping multiple ports. It is
> mapping host port 2323 to simulated system port 23 AND host port 2121
> to simulated system port 21. This maps telnet (on port 23) and ftp
> (on port 21).>
> You can add additional mappings on the same command line up to some
> reasonably large command line length limit.>
> - Mark
>
>
> On Sep 11, 2018 10:54 PM, Ken Wiebe <me at networkguy.com> wrote:
>> Hi,
>>
>> I've successfully used "attach xq nat:" command with VAX, with and
>> without the tcp port mapping as shown in the example:>>
>> sim> attach xq nat:tcp=2323:10.0.2.15:23,tcp=2121:10.0.2.15:21
>>
>> Questions though:
>>
>> Even though it worked, I don't fully understand each part of the
>> above syntax. Can someone break it down?>>
>> The only part that seems clear to me is the last piece, where you're
>> linking to the port (21) the emulated machine is listening on. And I
>> know the 2323 is the port opened on localhost to map to 21. But what
>> is the port 23 and port 2121 doing in the middle?>>
>> So if I wanted to add a map for SMTP (port 25), it would be this?
>>
>> sim> attach xq nat:tcp=2327:10.0.2.15:27,tcp=2125:10.0.2.15:25
>>
>> Also, How would one go about mapping multiple ports?
>>
>> Can there be multiple "attach xq nat:" commands issued to
>> accomplish, i.e.:>>
>> sim> attach xq nat:tcp=2323:10.0.2.15:23,tcp=2121:10.0.2.15:21
>> sim> attach xq nat:tcp=2327:10.0.2.15:27,tcp=2125:10.0.2.15:25
>> etc.
>>
>> Thanks!
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180912/f648b18e/attachment-0001.html>
More information about the Simh
mailing list