portforwarding

how to access local kubernetes minikube dashboard remotely

南楼画角 提交于 2019-11-28 19:09:56
问题 Kubernetes newbie (or rather basic networking) question: Installed single node minikube (0.23 release) on a ubuntu box running in my lan (on IP address 192.168.0.20) with virtualbox. minikube start command completes successfully as well minikube start Starting local Kubernetes v1.8.0 cluster... Starting VM... Getting VM IP address... Moving files into cluster... Setting up certs... Connecting to cluster... Setting up kubeconfig... Starting cluster components... Kubectl is now configured to

Tunnel any kind of TCP traffic through HTTP/s

…衆ロ難τιáo~ 提交于 2019-11-28 14:55:15
问题 I am looking for a software to tunnel RDP or other binary TCP traffic through a HTTPS tunnel. Because many clients only have HTTP/S permitted (only port 80 and 443 open in the firewall). But there's a need to forward RDP (and other protocols) from machines in DMZ to clients. 7 View large function description Is there any kind of open source or enterprise software for this problem? Bad solutions Solutions like F5 big ip has the problem that I have to create the connection configuration with

Vagrant reverse port forwarding?

房东的猫 提交于 2019-11-28 02:39:37
I'm working on a web services architecture. I've got some software that I need to run on the native host machine, not in Vagrant. But I'd like to run some client services on the guest. Vagrant's config.vm.forwarded_port parameter will open a port on the host and send the data to the guest. But how can I open a port on the guest and send the data to the host? (It's still port forwarding, but in the reverse direction.) When you run vagrant ssh , it's actually using this underlying command: ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR -o IdentitiesOnly

C# Raw Sockets Port Forwarding

与世无争的帅哥 提交于 2019-11-28 01:48:19
问题 I am trying to create a simple C# app which does port forwarding, and need to know how to use the IP_HDRINCL socket option to try to fake out the receiving end to think the connection is really to the source. Any examples would be greatly appreciated. 回答1: sock = new Socket( AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.IP ); sock.Bind( new IPEndPoint( IPAddress.Parse( "10.25.2.148" ), 0 ) ); sock.SetSocketOption( SocketOptionLevel.IP, SocketOptionName.HeaderIncluded, 1 ); byte[]

Creating a forwarded port within an SSH tunnel

佐手、 提交于 2019-11-27 23:37:36
I'm attempting to use SSH.NET to create a tunnel from localhost:3306 to port 3306 on a remote machine: PrivateKeyFile file = new PrivateKeyFile(@" .. path to private key .. "); using (var client = new SshClient(" .. remote server .. ", "ubuntu", file)) { client.Connect(); var port = new ForwardedPortLocal(3306, "localhost", 3306); client.AddForwardedPort(port); port.Start(); // breakpoint set within the code here client.Disconnect(); } When the breakpoint is hit, client.IsConnected is returning true , but telnet localhost 3306 is not connecting. If I create the connection using Putty instead,

SSH -L connection successful, but localhost port forwarding not working “channel 3: open failed: connect failed: Connection refused”

烂漫一生 提交于 2019-11-27 19:00:46
My lab runs RStudio on a server. A couple weeks ago, from my cousin's house, I successfully ssh'd into the server and pulled up the server-side RStudio through my local Firefox browser. Now when I try to access the server RStudio from home (via my own router), it doesn't work. I need help troubleshooting, and I'm guessing it's some problem on the router. I'm running Mac OSX 10.6.8. No idea what the university server's running, but I don't think it's a server-side problem. Here's how it worked the first time I did it, at my cousin's house: first, I VPN into the university network; then I call

Access localhost from the internet [closed]

梦想与她 提交于 2019-11-27 17:03:21
I need to forward my localhost for a short period of time for testing purposes. It has to be accessed from the public internet. How can I achieve this? Thanks. You go into your router configuration and forward port 80 to the LAN IP of the computer running the web server. Then anyone outside your network (but not you inside the network) can access your site using your WAN IP address ( whatismyipcom ). Saurabh There are couple of good free service that let you do the same. Ideal for showing something quickly for testing: http://localtunnel.me/ https://ngrok.com/ http://localhost.run/ Edits : add

Vagrant port forwarding for Mysql

心已入冬 提交于 2019-11-27 16:09:06
问题 I am trying to setup port forwarding in Vagrantfile to connect to guest mysqld from host system, but get reading initial communication packet error. Host: Yosemite, Guest: Trusty, vagrant 1.7.4 Vagrantfile(host): config.vm.network "forwarded_port", guest: 80, host: 8080 config.vm.network "forwarded_port", guest: 3306, host: 3309 my.ini(guest): bind-address = 127.0.0.1 8080 forwarding works like a charm. mysql -h127.0.0.1 -uroot -p from guest also works. mysql -h127.0.0.1 -P 3309 -uroot -p

Virtualbox “port forward” from Guest to Host [closed]

ε祈祈猫儿з 提交于 2019-11-27 09:58:19
Here is my setup: - Host: Windows XP - Guest: Ubuntu 10.04 - Networking: NAT I am setting an Apache web server on the Guest, but I want to be able to do this on the Windows machine: - go to the browser, type http://localhost:8000 Also, I tried to change my networking to bridge and I got a new IP. But when I tried to do http://:8000, it says that it could not connect. Network communication Host -> Guest Connect to the Guest and find out the ip address: ifconfig example of result (ip address is 10.0.2.15): eth0 Link encap:Ethernet HWaddr 08:00:27:AE:36:99 inet addr:10.0.2.15 Bcast:10.0.2.255

Node.js - forward all traffic from port A to port B

*爱你&永不变心* 提交于 2019-11-27 07:18:44
I'm trying to forward all traffic from port 6999 to port 7000 (I know I could use iptables, but the idea is to use Node.js to do some packet inspection). Here is the code I have sofar: var net=require('net'); var compress=require('./node-compress/compress'); var ip='172.16.1.224'; var ipPort=6999; var opPort=7000; var output=net.createServer(function(connOut){ var input=net.createServer(function(connIn){ connIn.pipe(connOut); }); input.listen(ipPort,ip); }); output.listen(opPort,ip); It just does not seem to work. When I do a tcpdump on port 7000, nothing shows up. Anyone have any suggestions?