03-19-2011
Public IP
I guys, I have a compute at home and I want access it from outside with a public IP, and the problem is that my ISP distributed private IP addresses and to access the Internet is through NAT and. I want to access that computer via SSH from other network, how can I do that?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server.
Please provide the information for the above, it would be helpful for me.
Thanks,
Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies
2. Red Hat
Hi Friends,
I need help to understand how to publish my public dns to internet.
I have configured bind 9 on thel5 server and it working fine. My question is, as i donot want to expose my orginal hostname to outside and my zone files are configured with the NS recorde of the orginal hostname,... (5 Replies)
Discussion started by: arumon
5 Replies
3. IP Networking
I have 2 ethernet cards at my server,OEL5.5. One is for Public LAN and another is for private to install Oracle RAC. I am facing the following problem
# ping 192.168.165.120
PING 192.168.165.120 (192.168.165.120) 56(84) bytes of data.
64 bytes from 192.168.165.120: icmp_seq=1 ttl=64... (3 Replies)
Discussion started by: faruque.ahmed
3 Replies
4. Ubuntu
Hi,
I have a Ubuntu Server which acts as a file server. I've installed Samba, as there are some Windows PCs in the network.
I've created a public folder. Everyone has rw-rights in this folder. So far, so good. But everytime a user (which is logged in) saves a file in the public folder, that... (1 Reply)
Discussion started by: UYIM_Fabian
1 Replies
5. Shell Programming and Scripting
Hi
I do use this line to find my public IP.
Is there other way I can do this?
Maybe create the script some shorter?
wget -q -O - http://minip.no | grep "<b>" | head -n1 | cut -d'<' -f3 | cut -d'>' -f2
Thanks (1 Reply)
Discussion started by: Jotne
1 Replies
6. Shell Programming and Scripting
I generated a public key that we are using for ssh and sftp but I noticed that I am still being asked for a password when I run my script. is there something I need to put in my script?
Our linux guy said he placed keys on both servers. (2 Replies)
Discussion started by: MJCreations
2 Replies
7. What is on Your Mind?
AudioScope.sh has now had 2 votes of 5 stars.
It has also been thanked in the latest upload...
Although I know who thanked this kids project, and I have personally thanked that person,
this is a public thank you to the two anonymous people who have voted it 5 stars.
Thank you.
It has... (0 Replies)
Discussion started by: wisecracker
0 Replies
8. Solaris
Hi,
Please help.
I created a ZFS pool on Solaris 11.3 (thunder) and shared it using NFS (storage).
But when I connect from my Mac without credentials I can't write to the share,I assume I have to make the share public but can't figure out the syntax,please help.
Also the pool is for... (6 Replies)
Discussion started by: rthorntn
6 Replies
NAT action in tc(8) Linux NAT action in tc(8)
NAME
nat - stateless native address translation action
SYNOPSIS
tc ... action nat DIRECTION OLD NEW
DIRECTION := { ingress | egress }
OLD := IPV4_ADDR_SPEC
NEW := IPV4_ADDR_SPEC
IPV4_ADDR_SPEC := { default | any | all | in_addr[/{prefix|netmask}]
DESCRIPTION
The nat action allows to perform NAT without the overhead of conntrack, which is desirable if the number of flows or addresses to perform
NAT on is large. This action is best used in combination with the u32 filter to allow for efficient lookups of a large number of stateless
NAT rules in constant time.
OPTIONS
ingress
Translate destination addresses, i.e. perform DNAT.
egress Translate source addresses, i.e. perform SNAT.
OLD Specifies addresses which should be translated.
NEW Specifies addresses which OLD should be translated into.
NOTES
The accepted address format in OLD and NEW is quite flexible. It may either consist of one of the keywords default, any or all, represent-
ing the all-zero IP address or a combination of IP address and netmask or prefix length separated by a slash (/) sign. In any case, the
mask (or prefix length) value of OLD is used for NEW as well so that a one-to-one mapping of addresses is assured.
Address translation is done using a combination of binary operations. First, the original (source or destination) address is matched
against the value of OLD. If the original address fits, the new address is created by taking the leading bits from NEW (defined by the
netmask of OLD) and taking the remaining bits from the original address.
There is rudimental support for upper layer protocols, namely TCP, UDP and ICMP. While for the first two only checksum recalculation is
performed, the action also takes care of embedded IP headers in ICMP packets by translating the respective address therein, too.
SEE ALSO
tc(8)
iproute2 12 Jan 2015 NAT action in tc(8)