9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] NAT'ing a drawterm connection
@ 2003-08-26  1:16 Skip Tavakkolian
  2003-08-26  1:50 ` boyd, rounin
  2003-08-26  4:17 ` Jim Choate
  0 siblings, 2 replies; 18+ messages in thread
From: Skip Tavakkolian @ 2003-08-26  1:16 UTC (permalink / raw)
  To: 9fans

>> Type away.
>
> like we're all typing for the NSA.

I see your point, but, customers of a service wouldn't be sympathetic
to that answer.  My hope is that Russ just gave us a hint that he has
already done it.



^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: [9fans] NAT'ing a drawterm connection
@ 2003-08-29  4:39 YAMANASHI Takeshi
  0 siblings, 0 replies; 18+ messages in thread
From: YAMANASHI Takeshi @ 2003-08-29  4:39 UTC (permalink / raw)
  To: 9fans

"On Fri Aug 29 13:30:03 JST 2003, rgr@sdf.lonestar.org wrote:"
> Nothing seems to be printed in /sys/log/auth.  If I run a vnc server
> on linux, I have to set a password; have I not done the equivalent on
> Plan 9 ?  How do I do it ?

Have you set Inferno/POP password on plan 9?  Vnc server on plan9
uses Inferno/POP password to authenticate vnc connections.

`passwd(1)' should set the password for you.

	% nashi@p9t passwd
	Plan 9 Password: xxxxxxx
	change Plan 9 Password? (y/n) n
	change Inferno/POP password? (y/n) y
--



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [9fans] NAT'ing a drawterm connection
@ 2003-08-25  4:00 Rob Ristroph
  2003-08-25  4:04 ` andrey mirtchovski
  0 siblings, 1 reply; 18+ messages in thread
From: Rob Ristroph @ 2003-08-25  4:00 UTC (permalink / raw)
  To: 9fans


I have a cpu/auth server on a private network, which is connected to
the internet via a Linux computer running iptables and masquerading or
NAT'ing as they call it now.

 From that linux box I can drawterm into my Plan 9 cpu/auth server.

I would like to forward the appropriate ports so that someone on the
internet at large can drawterm to my plan 9 machine.

Here was my first attempt:

# Port forwarding to try to make drawterm to Plan 9 machine work
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 567 -i eth0 -j DNAT --to 192.168.1.18:567
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 567 -i eth0 -j DNAT --to 192.168.1.18:17007
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 567 -i eth0 -j DNAT --to 192.168.1.18:17008

However it doesn't work.

Has anyone set this up before ?

If the connections on 170xx are initiated from the Plan 9 side, I
don't need those last two lines, right ?  For simplicity let's presume
the client drawterm has a real IP address.

--Rob



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-08-29  4:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-26  1:16 [9fans] NAT'ing a drawterm connection Skip Tavakkolian
2003-08-26  1:50 ` boyd, rounin
2003-08-26  4:25   ` Jim Choate
2003-08-26  4:17 ` Jim Choate
  -- strict thread matches above, loose matches on Subject: below --
2003-08-29  4:39 YAMANASHI Takeshi
2003-08-25  4:00 Rob Ristroph
2003-08-25  4:04 ` andrey mirtchovski
2003-08-25  5:15   ` Rob Ristroph
2003-08-25  5:22     ` andrey mirtchovski
2003-08-25  5:26       ` andrey mirtchovski
2003-08-25 12:35         ` Bruce Ellis
2003-08-25 13:18           ` Russ Cox
2003-08-25 17:52             ` Bruce Ellis
2003-08-26  0:30               ` boyd, rounin
2003-08-28  3:23               ` Russ Cox
2003-08-29  4:32         ` Rob Ristroph
2003-08-29  4:50           ` andrey mirtchovski
2003-08-25 14:53     ` matt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).