diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 21:58:29 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 21:59:11 +0200 |
commit | e4e109c16ef27012157cb38cf6375c1ae4d2ef69 (patch) | |
tree | ff2350f8f769d92544202cb5d2149155aa1d04cb /kpov_judge/tasks/nat_port_forward | |
parent | f2060d5143f5c4b14bfff723d238c497a0053f17 (diff) | |
parent | 5439f75ca2e1a38803a96853b6cac0ce5c9f58ce (diff) |
Merge branch 'improve-web'
Store instructions in HTML and render with jinja2. Add i18n with
gettext / pybabel. Improve styling.
Diffstat (limited to 'kpov_judge/tasks/nat_port_forward')
-rw-r--r-- | kpov_judge/tasks/nat_port_forward/task.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kpov_judge/tasks/nat_port_forward/task.py b/kpov_judge/tasks/nat_port_forward/task.py index 8fe28d7..80d2e47 100644 --- a/kpov_judge/tasks/nat_port_forward/task.py +++ b/kpov_judge/tasks/nat_port_forward/task.py @@ -2,13 +2,12 @@ instructions = { 'si':""" -Postavi tri računalnike - SimpleArbiter z diska simpleArbiter, TestClient z diska testClient in NATServer. NATServer naj ima dva omrežna vmesnika - z enim naj bo +<pre>Postavi tri računalnike - SimpleArbiter z diska simpleArbiter, TestClient z diska testClient in NATServer. NATServer naj ima dva omrežna vmesnika - z enim naj bo povezan na omrežje, od koder bo imel dostop do Interneta, z drugim pa na SimpleArbiter. TestClient naj bo povezan na isto omrežje z dostopom do Interneta kot NATServer. Poskrbi, da bo NATServer služil kot DHCP strežnik ter privzeti prehod za SimpleArbiter. Na SimpleArbiter preberi vrednosti NET, PORT_OUTER in PORT_INNER ter vpiši IP_TEST_CLIENT. Poskrbi, da bo omrežje med SimpleArbiter in NATServer na področju NET. Nato poskrbi, da se -bo TCP promet z omrežja z dostopom do Interneta na vrata PORT_OUTER prepošiljal na SimpleArbiter na vrata PORT_INNER. -""" +bo TCP promet z omrežja z dostopom do Interneta na vrata PORT_OUTER prepošiljal na SimpleArbiter na vrata PORT_INNER.</pre>""" } computers = { |