# Network

**URL:** https://linux-tips.com/c/network/12.md?page=1

[Latest](https://linux-tips.com/latest.md) · [Categories](https://linux-tips.com/categories.md)

**Page:** 2

---

## [Rewriting destination ip address](https://linux-tips.com/t/rewriting-destination-ip-address/221)

<div class="topic-metadata">

**Author:** [@demirten](https://linux-tips.com/u/demirten)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 4:58pm UTC](https://linux-tips.com/t/rewriting-destination-ip-address/221 "2015-08-03T16:58:16Z")

</div>

If you changed your server's ip address and all the configurations of services (apache, dns etc.) you can think about that new requests always comes to your new ip address but it doesn't. Due to the non-sdandard dns ca…

---

## [Using netstat command](https://linux-tips.com/t/using-netstat-command/217)

<div class="topic-metadata">

**Author:** [@mike](https://linux-tips.com/u/mike)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 4:49pm UTC](https://linux-tips.com/t/using-netstat-command/217 "2015-08-03T16:49:13Z")

</div>

Netstat is a simple and great network utility. Here are a few useful usage examples: What Network Services are Running? netstat -atup or netstat -ap | grep LISTEN | less This can be helpful to determine the ser…

---

## [Routing packets back from incoming interface](https://linux-tips.com/t/routing-packets-back-from-incoming-interface/201)

<div class="topic-metadata">

**Author:** [@demirten](https://linux-tips.com/u/demirten)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 4:13pm UTC](https://linux-tips.com/t/routing-packets-back-from-incoming-interface/201 "2015-08-03T16:13:20Z")

</div>

There is a known issue (it is a design issue) with Linux networking stack. If you have multiple interface to connect wan side, for example ppp0 is dialup, eth0 leased line, wlan0 wireless etc. normally you have 3 default…

---

## [Tcp port redirections with redir](https://linux-tips.com/t/tcp-port-redirections-with-redir/199)

<div class="topic-metadata">

**Author:** [@demirezen](https://linux-tips.com/u/demirezen)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 4:07pm UTC](https://linux-tips.com/t/tcp-port-redirections-with-redir/199 "2015-08-03T16:07:42Z")

</div>

Redir is a port redirector. It's functionally basically consists of the ability to listen for TCP connections on a given port, and when it recieves a connection, to then connect to a given destination address/port, and…

---

## [Mii-tool - Getting network interface status](https://linux-tips.com/t/mii-tool-getting-network-interface-status/197)

<div class="topic-metadata">

**Author:** [@demirezen](https://linux-tips.com/u/demirezen)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 3:59pm UTC](https://linux-tips.com/t/mii-tool-getting-network-interface-status/197 "2015-08-03T15:59:35Z")

</div>

To view and set status of a network interface, you can use mii-tool utility. To view status of interfaces: mii-tool simply displays status of all interfaces. Sample output is as below:eth0: negotiated 100baseTx-…

---

## [Socat port forwarding](https://linux-tips.com/t/socat-port-forwarding/168)

<div class="topic-metadata">

**Author:** [@demirten](https://linux-tips.com/u/demirten)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 1:47pm UTC](https://linux-tips.com/t/socat-port-forwarding/168 "2015-08-03T13:47:48Z")

</div>

socat is a command line based utility that establishes two bidirectional byte streams and transfers data between them. It has lots of feauters you can see on it's man page. Here we discuss a general problem: You just c…

---

## [Ssh X11 forwarding](https://linux-tips.com/t/ssh-x11-forwarding/155)

<div class="topic-metadata">

**Author:** [@tsenyurt](https://linux-tips.com/u/tsenyurt)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 1:19pm UTC](https://linux-tips.com/t/ssh-x11-forwarding/155 "2015-08-03T13:19:41Z")

</div>

First make sure that your binary distro of ssh has X11 forwarding support. Commonly it will. But on very old systems you must upgrade it or rebuild the source tree removing ant X11 disabling funtions. On the server s…

---

## [Disabling ssh to ask for every new host key](https://linux-tips.com/t/disabling-ssh-to-ask-for-every-new-host-key/149)

<div class="topic-metadata">

**Author:** [@Debuser](https://linux-tips.com/u/Debuser)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 12:46pm UTC](https://linux-tips.com/t/disabling-ssh-to-ask-for-every-new-host-key/149 "2015-08-03T12:46:05Z")

</div>

Normally when you try to connect a remote side with ssh, in the first time ssh asks for a yes/no question to whether you're sure to continue connecting or not. When you say yes, it makes a new record in ~/.ssh/known\_h…

---

## [Reverse telnet on Linux using netcat](https://linux-tips.com/t/reverse-telnet-on-linux-using-netcat/146)

<div class="topic-metadata">

**Author:** [@demirten](https://linux-tips.com/u/demirten)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 12:24pm UTC](https://linux-tips.com/t/reverse-telnet-on-linux-using-netcat/146 "2015-08-03T12:24:47Z")

</div>

If you behind a firewall which rejects any incoming connections but permits to connect 80. port of remote side for example, you can still connect your office pc with netcat's reverse telnet ability. To achieve this you h…

---

## [Scp resume support](https://linux-tips.com/t/scp-resume-support/143)

<div class="topic-metadata">

**Author:** [@demirten](https://linux-tips.com/u/demirten)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 12:16pm UTC](https://linux-tips.com/t/scp-resume-support/143 "2015-08-03T12:16:59Z")

</div>

Besides the all of the goodness of scp tool, you might be surprised to learn that it doesn't have a resuming functionality, yet. If you are trying to copy a large file through scp and the process aborted by any reason…

---

## [Optimizing interface traffic](https://linux-tips.com/t/optimizing-interface-traffic/28)

<div class="topic-metadata">

**Author:** [@demirten](https://linux-tips.com/u/demirten)\
**Replies:** 0\
**Last updated:** [December 14, 2014, 11:12pm UTC](https://linux-tips.com/t/optimizing-interface-traffic/28 "2014-12-14T23:12:24Z")

</div>

Optimizing traffic on interface can be very complicated issue. Linux kernel has lots of features, qos and queueing discipline algorithms like htb, sfq, hfsc. You can even mix these queues with proper bandwidth borrowing …

[Previous page](https://linux-tips.com/c/network/12.md)
