teamviewer-like tool for ssh?

I have been looking for same thing and have found two tools! tmate – instant terminal sharing GoTTY – Share your terminal as a web application tmate: When you start tmate in your terminal it will create a ssh link that you can share with another party that you wish to allow connecting to your … Read more

Basic iptables NAT port forwarding

PC —– Ubuntu 10 Server —– Slashdot (1.2.3.4) (5.6.7.8) (216.34.181.45) Enable the IP forwarding on Ubuntu: echo 1 > /proc/sys/net/ipv4/ip_forward and add the following rules: iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp –dport 8080 -j DNAT \ –to-destination 216.34.181.45:80 iptables -t nat -A POSTROUTING -o eth0 -j SNAT –to-source 5.6.7.8 No. … Read more

How to persist iptables configuration on Amazon EC2 VPC NAT Ami? [duplicate]

Debian (and derivatives) use the iptables-persistent package for this task. Define your rules in /etc/iptables/rules.4 and/or /etc/iptables/rules.6 and activate the service (using update-rc.d, chkconfig or your tool of choice. On RHEL and derivatives, the startup script /etc/init.d/iptables reads /etc/sysconfig/iptables, so you need to define your rules there, and ensure that the iptables service is activated … Read more

What happens if two local systems download the same resource on same port?

A TCP connection (which underlies HTTP and many other protocols) is uniquely (at a given point in time) defined by 4 parameters: The local IP The local port The remote IP The remote port Even if you make the same request twice simultaneously from the same computer, even with the two IP addresses identical and … Read more

IPv6 without nat but what about an isp change?

There’s definitely some mechanisms in place to help you out here. For internal LAN traffic, between systems on your network, there’s Unique Local Addresses. Think of them like RFC1918 addresses; they’ll only work within your network. You’ll be able to use these addresses for any communication within your network borders; just carve off some nets … Read more

iptables nat does not exist

Due to the update of vzctl from 4.6 to 4.7 they changed the setting of nf_conntrack to be disabled by default. (https://openvz.org/Download/vzctl/4.7/changes) Corresponding commit message: … Disable conntrack for VE0 by default IP conntrack functionality has some negative impact on venet performance (uo to about 10%), so they better be disabled by default. … (Source: … Read more