Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Chinese (Simplified) guidelines.
13181327 of 3717 results
1318.

net/ipv4/ip_forward=1
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

net/ipv4/ip_forward=1
Translated by EAdam
Located in serverguide/C/security.xml:636(programlisting)
1319.
Similarly, for IPv6 forwarding uncomment:
类似地,对IPv6的投递,注释掉:
Translated and reviewed by Tao Wei
Located in serverguide/C/security.xml:639(para)
1320.

net/ipv6/conf/default/forwarding=1
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

net/ipv6/conf/default/forwarding=1
Translated by EAdam
Located in serverguide/C/security.xml:642(programlisting)
1321.
Now we will add rules to the <filename>/etc/ufw/before.rules</filename> file. The default rules only configure the <emphasis>filter</emphasis> table, and to enable masquerading the <emphasis>nat</emphasis> table will need to be configured. Add the following to the top of the file just after the header comments:
现在我们将添加规则到文件:<filename>/etc/ufw/before.rules</filename>。默认的规则仅配置了<emphasis>filter</emphasis>表,如果需要启用伪装则需要配置<emphasis>nat</emphasis>表。请添加一下信息到配置文件紧跟在最头部注释的后面。
Translated and reviewed by Tao Wei
Located in serverguide/C/security.xml:647(para)
1322.

# nat Table rules
*nat
:POSTROUTING ACCEPT [0:0]

# Forward traffic from eth1 through eth0.
-A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE

# don't delete the 'COMMIT' line or these nat table rules won't be processed
COMMIT
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

# nat Table rules
*nat
:POSTROUTING ACCEPT [0:0]

# Forward traffic from eth1 through eth0.
-A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE

# don't delete the 'COMMIT' line or these nat table rules won't be processed
COMMIT
Translated and reviewed by Constine
Located in serverguide/C/security.xml:652(programlisting)
1323.
The comments are not strictly necessary, but it is considered good practice to document your configuration. Also, when modifying any of the <emphasis>rules</emphasis> files in <filename class="directory">/etc/ufw</filename>, make sure these lines are the last line for each table modified:
书写注释是很好的习惯,虽然它不是必须的。并且当你在修改<filename class="directory">/etc/ufw</filename>文件任何<emphasis>rules</emphasis>的时候,确保这些文字保留在每一处修改的后面。
Translated and reviewed by Tao Wei
Located in serverguide/C/security.xml:663(para)
1324.

# don't delete the 'COMMIT' line or these rules won't be processed
COMMIT
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

#不要删除'COMMIT'行,否则这些规则将不被处理
表示一个换行。在翻译的相应位置开始新的行
Translated and reviewed by Tao Wei
Located in serverguide/C/security.xml:669(programlisting)
1325.
For each <emphasis>Table</emphasis> a corresponding <emphasis>COMMIT</emphasis> statement is required. In these examples only the <emphasis>nat</emphasis> and <emphasis>filter</emphasis> tables are shown, but you can also add rules for the <emphasis>raw</emphasis> and <emphasis>mangle</emphasis> tables.
每个 <emphasis>Table</emphasis> 都要有一个对应的 <emphasis>COMMIT</emphasis> 声明。本例只展示了 <emphasis>nat</emphasis> 和 <emphasis>filter</emphasis> 表,但您也可以为 <emphasis>raw</emphasis> 和 <emphasis>mangle</emphasis> 表添加规则。
Translated and reviewed by Yiding He
Located in serverguide/C/security.xml:674(para)
1326.
In the above example replace <emphasis>eth0</emphasis>, <emphasis>eth1</emphasis>, and <emphasis>192.168.0.0/24</emphasis> with the appropriate interfaces and IP range for your network.
在上面的例子中将<emphasis>eth0</emphasis>, <emphasis>eth1</emphasis>, 和 <emphasis>192.168.0.0/24</emphasis>替换为你的网络的正确的设备和IP范围。
Translated and reviewed by Tao Wei
Located in serverguide/C/security.xml:681(para)
1327.
Finally, disable and re-enable <application>ufw</application> to apply the changes:
最后,禁止并重新激活<application>ufw</application>来运用修改
Translated and reviewed by Tao Wei
Located in serverguide/C/security.xml:689(para)
13181327 of 3717 results

This translation is managed by Ubuntu Simplified Chinese Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: 4b3tt0r, Adavak, Alex Xu, Aron Xu, Azrael Green, Bill Lee, Chen Ming, Congping Hao, Constine, Devin, EAdam, ESN, Felix, Feng Chao, Hugh SH, Ihnus Qcshz, John Lu, Johnson Zhu, Jun CHEN, Justin Yang, Li Linxiao, Luo Jiawei, Magicnight, Proton, Quantum, Rkyo, Shining, Tao Wei, USSR, Wylmer Wang, XUE Can, Yiding He, albertxiaoyu, bailiang, ggarlic, jinxin16897123, jpartley, king_li, lainme, linuxwj, luckyone, mahongquan, markgoo, maxim(Feng Liu), panlianyun, sdxianchao, snowwhite, stone_unix, wangajing, wsw, xiajiebuhui, yuane, yugq, zhangmiao, zhongxin, 姚渺波, 龚韬.