I want to send data from a process running on toolforge to a VPS host. I tried the obvious:
On the VPS host (puppet-test.spi-tools.eqiad1.wikimedia.cloud):
$ nc -4 -l -p 23001
On tools-sgebastion-11:
echo foo | nc -v -4 puppet-test.spi-tools.eqiad1.wikimedia.cloud 23001 nc: connect to puppet-test.spi-tools.eqiad1.wikimedia.cloud port 23001 (tcp) failed: Connection timed out
I'm assuming I need to configure a security group in horizon to allow ingress on that port, is that correct?
That sounds right to me — this page https://wikitech.wikimedia.org/wiki/Help:Security_groups has some info on Cloud VPS security groups.
It'll be worth limiting it to the 172.16.0.0/21 range, similar to the SSH rule in the default set.
Kind regards,
*Sammy*
*(She/Her)*
User:TheresNoTime https://meta.wikimedia.org/wiki/User:TheresNoTime
*Wikimedia Steward*
*A/CU/OS*
*Unless otherwise stated, all statements from this account are made in a volunteer capacity, and may not reflect the views of the Wikimedia Foundation.*
*This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email.*
On Wed, 25 May 2022 at 13:09, Roy Smith roy@panix.com wrote:
I want to send data from a process running on toolforge to a VPS host. I tried the obvious:
On the VPS host (puppet-test.spi-tools.eqiad1.wikimedia.cloud):
$ nc -4 -l -p 23001
On tools-sgebastion-11:
echo foo | nc -v -4 puppet-test.spi-tools.eqiad1.wikimedia.cloud 23001 nc: connect to puppet-test.spi-tools.eqiad1.wikimedia.cloud port 23001 (tcp) failed: Connection timed out
I'm assuming I need to configure a security group in horizon to allow ingress on that port, is that correct?
Cloud mailing list -- cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
OK, got that sorted out and tested with netcat, thanks.
Now I just need to sort out some hand-to-hand combat with rsyslog configs https://serverfault.com/questions/1101795/messages-sent-to-unix-socket-get-logged-but-not-when-sent-via-udp :-)
On May 25, 2022, at 8:34 AM, Sammy Tarling sam@theresnotime.co.uk wrote:
That sounds right to me — this page https://wikitech.wikimedia.org/wiki/Help:Security_groups has some info on Cloud VPS security groups.
It'll be worth limiting it to the 172.16.0.0/21 http://172.16.0.0/21 range, similar to the SSH rule in the default set.
Kind regards,
Sammy
(She/Her)
User:TheresNoTime https://meta.wikimedia.org/wiki/User:TheresNoTime Wikimedia Steward
A/CU/OS
Unless otherwise stated, all statements from this account are made in a volunteer capacity, and may not reflect the views of the Wikimedia Foundation.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email.
On Wed, 25 May 2022 at 13:09, Roy Smith <roy@panix.com mailto:roy@panix.com> wrote: I want to send data from a process running on toolforge to a VPS host. I tried the obvious:
On the VPS host (puppet-test.spi-tools.eqiad1.wikimedia.cloud):
$ nc -4 -l -p 23001
On tools-sgebastion-11:
echo foo | nc -v -4 puppet-test.spi-tools.eqiad1.wikimedia.cloud 23001 nc: connect to puppet-test.spi-tools.eqiad1.wikimedia.cloud port 23001 (tcp) failed: Connection timed out
I'm assuming I need to configure a security group in horizon to allow ingress on that port, is that correct?
Cloud mailing list -- cloud@lists.wikimedia.org mailto:cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ _______________________________________________ Cloud mailing list -- cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
On May 25, 2022, at 3:03 PM, Roy Smith roy@panix.com wrote:
OK, got that sorted out and tested with netcat, thanks.
Now I just need to sort out some hand-to-hand combat with rsyslog configs https://serverfault.com/questions/1101795/messages-sent-to-unix-socket-get-logged-but-not-when-sent-via-udp :-)
Turns out, Puppet Class: rsyslog::receiver logs to /srv/syslog/... instead of /var/log/.. So everything was getting logged just fine and i was simply looking in the wrong place for the output.